25 void* hndl = dlopen(
"libwt.so", RTLD_NOW | RTLD_GLOBAL);
27 fprintf(stderr,
"WsModImages2Init : cannot load libwt.so shared library! %s\n", dlerror());
36 wApp->messageResourceBundle().use(wApp->docRoot() + wApp->resourcesUrl() +
"WsModImages2/Transl/WsModImages2");
67 return "WsModImages2 wittyShare module";
WsEditorWidget * createEditor(Wt::WContainerWidget *parent=0) const
Create the contents for an editor (create a view of options).
Wt::WWidget * createAdmin(Wt::WContainerWidget *parent=0) const
Create the contents for an administrator.
void WsModImages2Init(void)
Wt::WWidget * createContentsMenuBar(Wt::WContainerWidget *parent=0) const
Create the functionalities.
std::string description() const
Return the description of the module.
const std::vector< WsOption > & options() const
Get all options.
Wt::WWidget * createContents(Wt::WContainerWidget *parent=0) const
Create the contents.
void setOptions(const std::vector< WsOption > &vOptions)
Set all options.
a wittyShare class that render images randomly