#include "BlogApplication.h" #include "view/BlogView.h" #include static const char *FeedUrl = "/blog/feed/"; BlogApplication::BlogApplication(const Wt::WEnvironment &env, Wt::Dbo::SqlConnectionPool &blogDb) : Wt::WApplication(env) { messageResourceBundle().use(Wt::WApplication::appRoot() + "blog"); useStyleSheet("/css/blog.css"); useStyleSheet("/css/asciidoc.css"); root()->addWidget(std::make_unique("/", blogDb, FeedUrl)); useStyleSheet("css/blogexample.css"); }