13 #include <boost/filesystem.hpp>
22 #include <gdcore/bdAsterisk/ConnectionHandler.h>
23 #include <gdcore/bdAsterisk/MeetMeList.h>
24 #include <gdcore/bdAsterisk/MeetMeListAnswer.h>
25 #include <gdcore/bdAsterisk/MeetMeMuteUnMute.h>
27 #include <Wt/WApplication>
28 #include <Wt/WBoostAny>
30 #include <gdwtcore/WAsterisk/gdMeetingView.h>
41 void* hndl = dlopen(
"libwt.so", RTLD_NOW | RTLD_GLOBAL);
43 fprintf(stderr,
"WsModMeetingViewInit : cannot load wt.so shared library! %s\n", dlerror());
53 : gdMeetingView(parent)
63 long rowHeight = asNumber(
option(
"rowHeight"));
65 setRowHeight(rowHeight);
66 std::string sHideHeader = asString(
option(
"hideHeader")).narrow();
67 if ( sHideHeader ==
"true" )
69 hideColumns(asString(
option(
"hideColumns")).narrow());
70 setServer(asString(
option(
"server")).narrow());
71 long lPort = asNumber(
option(
"port"));
74 setRootNumber(asString(
option(
"rootNumber")).narrow());
75 setUser(asString(
option(
"user")).narrow());
76 setPassword(asString(
option(
"password")).narrow());
77 long lConf = asNumber(
option(
"conferenceID"));
79 setConferenceID(lConf);
80 gdMeetingView::load();
88 wApp->messageResourceBundle().use(wApp->docRoot() + wApp->resourcesUrl() +
"WsModMeetingView/Transl/WsModMeetingView");
124 return "WsModMeetingView wittyShare module";
WsEditorWidget * createEditor(Wt::WContainerWidget *parent=0) const
Create the contents for an editor (create a view of options).
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.
std::string description() const
Return the description of the module.
const std::vector< WsOption > & options() const
Get all options.
Wt::WWidget * createContentsMenuBar(Wt::WContainerWidget *parent=0) const
Create the functionalities.
const boost::any & option(const std::string &attribute) const
Get an options value.
WsMeetingView(Wt::WContainerWidget *parent=0)
void setOptions(const std::vector< WsOption > &vOptions)
Set all options.
void WsModMeetingViewInit(void)