10 #include <Wt/WApplication> 19 WtHome(
const WEnvironment& env, Wt::Dbo::SqlConnectionPool& blogDb);
22 virtual WWidget *examples();
23 virtual WWidget *createQuoteForm();
24 virtual WWidget *sourceViewer(
const std::string &internalPath);
30 WWidget *example(
const char *textKey,
const std::string& sourceDir);
32 WWidget *helloWorldExample();
33 WWidget *chartExample();
34 WWidget *homepageExample();
35 WWidget *treeviewExample();
36 WWidget *gitExample();
37 WWidget *chatExample();
38 WWidget *composerExample();
39 WWidget *widgetGalleryExample();
40 WWidget *hangmanExample();
42 WWidget *wrapView(WWidget *(
WtHome::*createFunction)());
46 Wt::Dbo::SqlConnectionPool *blogDb);
WApplication * createWtHomeApplication(const WEnvironment &env, Wt::Dbo::SqlConnectionPool *blogDb)
virtual std::string filePrefix() const
std::string wtExamplePath_