Added base of code to allow sending backend updates to connected clients.

This commit is contained in:
Kevin Whitaker
2017-01-29 17:27:27 -05:00
parent 22f1b90238
commit ab4df84657
8 changed files with 53 additions and 3 deletions

View File

@@ -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);
}

View File

@@ -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