12 #include <boost/filesystem.hpp>
17 #include <Wt/WRegExpValidator>
19 #include <gdcore/gdCore.h>
31 void* hndl = dlopen(
"libwt.so", RTLD_NOW | RTLD_GLOBAL);
33 fprintf(stderr,
"cannot load libwt.so shared library! %s\n", dlerror());
79 return "WsModNewsLetter wittyShare module";
87 newPath = pWsNewsLetter->
checkPath(currentPath);
void WsModNewsLetterInit(void)
Wt::WWidget * createContents(Wt::WContainerWidget *parent=0) const
Create the contents.
virtual std::string checkPath(const std::string ¤tPath)
Return the currentPath, or another path when some action is required for the currentPath example /New...
Wt::WWidget * createAdmin(Wt::WContainerWidget *parent=0) const
Create the contents for an administrator.
const std::vector< WsOption > & options() const
Get all options.
virtual std::string checkPath(const std::string ¤tPath)
Return the currentPath, or another path when some action is required for the currentPath example /New...
Wt::WWidget * createContentsMenuBar(Wt::WContainerWidget *parent=0) const
Create the functionalities.
std::string checkPath(const std::string ¤tPath)
WsEditorWidget * createEditor(Wt::WContainerWidget *parent=0) const
Create the contents for an editor (create a view of options).
void setOptions(const std::vector< WsOption > &vOptions)
Set all options.
std::string description() const
Return the description of the module.