Wittyshare  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WsModule.cpp
Go to the documentation of this file.
1 /*
2 * Copyright (C) 2006-Today Guy Deleeuw
3 *
4 * See the LICENSE file for terms of use.
5 */
6 
7 #include <iostream>
8 
9 #include <Wt/WLogger>
10 
11 #include <gdcore/gdCore.h>
12 
13 #include <Main/WsApplication.h>
14 
15 #include "WsModule.h"
16 
17 
18 
19 WsEditorWidget::WsEditorWidget(WContainerWidget* parent)
20  : WContainerWidget(parent)
21 { }
22 
24 { }
25 
27 {
28  WContainerWidget::load();
29 }
30 
32 {
33  return true;
34 }
35 
36 
37 
38 
39 
40 
41 
43 {
45 }
46 
48 { }
49 
51 {
52  m_bLoaded = true;
53 }
54 
56 {
57  return m_bLoaded;
58 }
59 
static WsApplication * wsInstance()
Facility function to access the application object.
Definition: WsApplication.h:39
void setLoaded()
Some modules can be loaded on startup, no more actions is required by the content widget...
Definition: WsModule.cpp:50
WsContentButtonsBar * contentButtonsBar()
WittyShare provide a container to add some buttons like export page in pdf, ..., This function allow ...
Definition: WsModule.cpp:42
bool m_bLoaded
Definition: WsModule.h:114
base class for building a wittyShare module
bool isLoaded()
Definition: WsModule.cpp:55
virtual void load()
Definition: WsModule.cpp:26
virtual void destroyContentsMenuBar()
Definition: WsModule.cpp:47
WsEditorWidget(Wt::WContainerWidget *parent=0)
Definition: WsModule.cpp:19
virtual bool saveEditor()
Definition: WsModule.cpp:31
WsContentButtonsBar * contentButtonsBar()