Wt examples  3.3.5
Functions
/usr/src/RPM/BUILD/wt-3.3.5-rc2/examples/composer/ComposeExample.C File Reference
#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

WApplicationcreateApplication (const WEnvironment &env)
int main (int argc, char **argv)

Function Documentation

Definition at line 140 of file ComposeExample.C.

{
  WApplication *app = new WApplication(env);

  // The following assumes composer.xml is in the webserver working directory
  // (but does not need to be deployed within docroot):
  app->messageResourceBundle().use(WApplication::appRoot() + "composer");

  // The following assumes composer.css is deployed in the seb server at the
  // same location as the application:
  app->useStyleSheet("composer.css");

  app->setTitle("Composer example");

  app->root()->addWidget(new ComposeExample());

  return app;
}
int main ( int  argc,
char **  argv 
)

Definition at line 159 of file ComposeExample.C.

{
   return WRun(argc, argv, &createApplication);
}

Generated on Tue Mar 22 2016 for the C++ Web Toolkit (Wt) by doxygen 1.7.6.1