I want to create a function inside wt-home example to call SimpleChat:
Wt::WWidget *Home::chat()
{
Wt::WContainerWidget *result = new Wt::WContainerWidget();
SimpleChatWidget *chatWidget = new
SimpleChatWidget(Wt::WApplication.environment.server(), result);
chatWidget->setStyleClass("chat");
return result;
}
This does not work and I have tried many variables based on getting the
current server, but all fail to compile, how do you do this correctly?
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest