10 #include <Wt/WApplication> 19 JWtHome(
const WEnvironment& env, Wt::Dbo::SqlConnectionPool& blogDb);
22 virtual WWidget *examples();
23 virtual WWidget *createQuoteForm();
24 virtual WWidget *sourceViewer(
const std::string& deployPath);
25 virtual std::string
filePrefix()
const {
return "jwt-"; }
27 WWidget *wrapView(WWidget *(
JWtHome::*createFunction)());
30 WWidget *example(
const char *textKey,
const std::string& sourceDir);
32 WWidget *helloWorldExample();
33 WWidget *chartExample();
34 WWidget *composerExample();
35 WWidget *treeviewExample();
36 WWidget *chatExample();
37 WWidget *figtreeExample();
38 WWidget *widgetGalleryExample();
44 Wt::Dbo::SqlConnectionPool *blogDb);
virtual std::string filePrefix() const
std::string jwtExamplePath_
WApplication * createJWtHomeApplication(const WEnvironment &env, Wt::Dbo::SqlConnectionPool *blogDb)