25 void* hndl = dlopen(
"libwt.so", RTLD_NOW | RTLD_GLOBAL);
27 fprintf(stderr,
"WsModBannersInit : cannot load libwt.so shared library! %s\n", dlerror());
36 wApp->messageResourceBundle().use(wApp->docRoot() + wApp->resourcesUrl() +
"WsModBanners/Transl/WsModBanners");
67 return "WsModBanners wittyShare module";
Wt::WWidget * createContentsMenuBar(Wt::WContainerWidget *parent=0) const
Create the functionalities.
Wt::WWidget * createContents(Wt::WContainerWidget *parent=0) const
Create the contents.
Wt::WWidget * createAdmin(Wt::WContainerWidget *parent=0) const
Create the contents for an administrator.
const std::vector< WsOption > & options() const
Get all options.
std::string description() const
Return the description of the module.
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.
A class that render a menu.
void WsModBannersInit(void)