Wittyshare  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WsModMeetingView.h
Go to the documentation of this file.
1 /*
2  *
3  * Filename: WsModMeetingView.h
4  *
5  * Description: WsModMeetingView : a module to render Asterisk running conference call
6  *
7  * Created: 16/01/2013 11:07:15
8  *
9  * Author: Guy Deleeuw : guy.deleeuw@gmail.com
10  *
11  */
12 #ifndef __WsModMeetingView_H__
13 #define __WsModMeetingView_H__
14 
15 #include <Wt/WContainerWidget>
16 
17 
18 #include <WsModule/WsModule.h>
19 
20 class WsMeetingView : public gdMeetingView, public WsOptions {
21 public :
22  WsMeetingView(Wt::WContainerWidget* parent = 0);
24  virtual void load();
25 };
26 
27 
28 
29 
30 
31 class WsModMeetingView : public WsModule {
32 
33 public :
36  Wt::WWidget* createContentsMenuBar(Wt::WContainerWidget* parent = 0) const;
37  Wt::WWidget* createContents(Wt::WContainerWidget* parent = 0) const;
38  WsEditorWidget* createEditor(Wt::WContainerWidget* parent = 0) const;
39  Wt::WWidget* createAdmin(Wt::WContainerWidget* parent = 0) const;
40  bool saveEditor() const;
41  std::string description() const;
42 
43 };
44 
45 extern "C" {
46  void WsModMeetingViewInit(void) __attribute__((constructor));
47 
49  {
50  return new WsModMeetingView();
51  }
52 }
53 
54 #endif
55 
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.
bool saveEditor() const
Wt::WWidget * createAdmin(Wt::WContainerWidget *parent=0) const
Create the contents for an administrator.
void WsModMeetingViewInit(void) __attribute__((constructor))
virtual void load()
std::string description() const
Return the description of the module.
Wt::WWidget * createContentsMenuBar(Wt::WContainerWidget *parent=0) const
Create the functionalities.
WsMeetingView(Wt::WContainerWidget *parent=0)
WsModMeetingView * buildModule()