10 #include <Wt/WApplication>
11 #include <Wt/WContainerWidget>
24 Lang(
const std::string& code,
const std::string& path,
25 const std::string& shortDescription,
26 const std::string& longDescription) :
29 shortDescription_(shortDescription),
30 longDescription_(longDescription) {
44 template <
typename Function>
61 template <
typename Function>
71 const std::string& title,
72 const std::string& resourceBundle,
const std::string& cssPath);
76 void googleAnalyticsLogger();
79 virtual WWidget *examples() = 0;
80 virtual WWidget *createQuoteForm() = 0;
81 virtual WWidget *sourceViewer(
const std::string &deployPath) = 0;
82 virtual std::string filePrefix()
const = 0;
87 WWidget *linkSourceBrowser(
const std::string& examplePath);
92 std::string href(
const std::string& url,
const std::string& description);
95 void readReleases(
WTable *releaseTable);
119 void readNews(
WTable *newsTable,
const std::string& newsfile);
124 void setLanguage(
int language);
125 void setLanguageFromPath();
127 void logInternalPath(
const std::string& path);
128 void chatSetUser(
const WString& name);