/home/koen/project/wt/public-git/wt/examples/wt-homepage/main.C File Reference

#include <Wt/WServer>
#include "WtHome.h"
#include "JWtHome.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 12 of file main.C.

00013 {
00014   WServer server(argv[0]);
00015 
00016   server.setServerConfiguration(argc, argv, WTHTTP_CONFIGURATION);
00017 
00018   server.addEntryPoint(Application, createWtHomeApplication,
00019                        "", "/css/wt/favicon.ico");
00020   server.addEntryPoint(Application, createJWtHomeApplication,
00021                        "/jwt", "/css/jwt/favicon.ico");
00022 
00023   if (server.start()) {
00024     WServer::waitForShutdown();
00025     server.stop();
00026   }
00027 }


Generated on Tue Sep 1 17:51:23 2009 for Wt by doxygen 1.5.6