#include <Wt/WApplication>
#include <Wt/WServer>
#include "HangmanGame.h"
#include "Session.h"
Go to the source code of this file.
◆ createApplication()
Definition at line 13 of file hangman.C.
WMessageResourceBundle & messageResourceBundle()
void setTitle(const WString &title)
void use(const std::string &path, bool loadInMemory=true)
WContainerWidget * root() const
static std::string appRoot()
void useStyleSheet(const WLink &link, const std::string &media="all")
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 30 of file hangman.C.
33 Wt::WServer server(argc, argv, WTHTTP_CONFIGURATION);
41 std::cerr << e.
what() << std::endl;
42 }
catch (std::exception &e) {
43 std::cerr <<
"exception: " << e.what() << std::endl;
virtual const char * what() const override
Wt::WApplication * createApplication(const Wt::WEnvironment &env)
static void configureAuth()