Make GroovePlayer a singleton to avoid being created for each browser. Add login UI component to eventually hold landing screen. Actually start server with initial interface.

This commit is contained in:
Kevin Whitaker
2017-01-28 00:56:22 -05:00
parent 093f74a846
commit a60e2a0c34
6 changed files with 68 additions and 3 deletions

View File

@@ -21,9 +21,16 @@
#define WEBINTERFACE_H
#include <Wt/WApplication>
#include "GroovePlayer.h"
class WebInterface : public Wt::WApplication
{
public:
WebInterface(const Wt::WEnvironment& env);
void loginCompleted();
private:
struct internal;
internal* priv_int = 0;
};
#endif // WEBINTERFACE_H