#include <Wt/WApplication>#include <Wt/WBreak>#include <Wt/WText>#include <Wt/WPushButton>#include <Wt/WContainerWidget>#include <Wt/WStringUtil>#include <unistd.h>#include "Composer.h"#include "ComposeExample.h"#include "Contact.h"Go to the source code of this file.
Functions | |
| WApplication * | createApplication (const WEnvironment &env) |
| int | main (int argc, char **argv) |
| WApplication* createApplication | ( | const WEnvironment & | env | ) |
Definition at line 141 of file ComposeExample.C.
00142 { 00143 WApplication *app = new WApplication(env); 00144 00145 // The following assumes composer.xml is in the webserver working directory 00146 // (but does not need to be deployed within docroot): 00147 app->messageResourceBundle().use("composer"); 00148 00149 // The following assumes composer.css is deployed in the seb server at the 00150 // same location as the application: 00151 app->useStyleSheet("composer.css"); 00152 00153 app->setTitle("Composer example"); 00154 00155 app->root()->addWidget(new ComposeExample()); 00156 00157 return app; 00158 }
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 160 of file ComposeExample.C.
00161 { 00162 return WRun(argc, argv, &createApplication); 00163 }
1.5.6