Added base of code to allow sending backend updates to connected clients.
This commit is contained in:
@@ -23,5 +23,6 @@
|
||||
PlayerInterface::PlayerInterface(WebInterface* app)
|
||||
{
|
||||
this->app = app;
|
||||
addChild(new Wt::WText("You did it."));
|
||||
tempText = new Wt::WText("You did it.");
|
||||
addChild(tempText);
|
||||
}
|
||||
|
||||
@@ -22,12 +22,14 @@
|
||||
|
||||
#include <Wt/WContainerWidget>
|
||||
#include "../WebInterface.h"
|
||||
#include <Wt/WText>
|
||||
|
||||
class PlayerInterface : public Wt::WContainerWidget
|
||||
{
|
||||
public:
|
||||
PlayerInterface(WebInterface* app);
|
||||
WebInterface* app;
|
||||
Wt::WText* tempText;
|
||||
};
|
||||
|
||||
#endif // PLAYERINTERFACE_H
|
||||
|
||||
Reference in New Issue
Block a user