Wt examples
3.7.1
|
Classes | |
class | PopupChatWidget |
A popup chat widget. More... | |
class | ChatApplication |
A chat demo application. More... | |
class | ChatWidget |
A chat application widget. More... | |
class | ChatEvent |
Encapsulate a chat event. More... | |
class | SimpleChatServer |
A simple chat server. More... | |
class | SimpleChatWidget |
A self-contained chat widget. More... | |
Typedefs | |
typedef boost::function< void(const ChatEvent &)> | ChatEventCallback |
Functions | |
WApplication * | createApplication (const WEnvironment &env, SimpleChatServer &server) |
WApplication * | createWidget (const WEnvironment &env, SimpleChatServer &server) |
int | main (int argc, char **argv) |
ChatApplication::ChatApplication (const WEnvironment &env, SimpleChatServer &server) | |
Create a new instance. More... | |
void | ChatApplication::javaScriptTest () |
void | ChatApplication::emptyFunc () |
void | ChatApplication::addChatWidget () |
Add another chat client. More... | |
ChatWidget::ChatWidget (const WEnvironment &env, SimpleChatServer &server) | |
typedef boost::function<void (const ChatEvent&)> ChatEventCallback |
Definition at line 81 of file SimpleChatServer.h.
|
private |
Add another chat client.
Definition at line 90 of file simpleChat.C.
ChatApplication::ChatApplication | ( | const WEnvironment & | env, |
SimpleChatServer & | server | ||
) |
Create a new instance.
Definition at line 47 of file simpleChat.C.
ChatWidget::ChatWidget | ( | const WEnvironment & | env, |
SimpleChatServer & | server | ||
) |
Definition at line 107 of file simpleChat.C.
WApplication* createApplication | ( | const WEnvironment & | env, |
SimpleChatServer & | server | ||
) |
Definition at line 139 of file simpleChat.C.
WApplication* createWidget | ( | const WEnvironment & | env, |
SimpleChatServer & | server | ||
) |
Definition at line 145 of file simpleChat.C.
|
private |
Definition at line 87 of file simpleChat.C.
|
private |
Definition at line 73 of file simpleChat.C.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 150 of file simpleChat.C.