2010-06-10 03:08:52 +00:00
|
|
|
#ifndef GNUSTEP
|
|
|
|
#include <GNUstepBase/GNUstep.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <WebObjects/WebObjects.h>
|
* Examples/WebBookStore1: New example.
* Examples/WebBookStore1/Application.h,
* Examples/WebBookStore1/Application.m,
* Examples/WebBookStore1/DirectAction.h,
* Examples/WebBookStore1/DirectAction.m,
* Examples/WebBookStore1/GNUmakefile,
* Examples/WebBookStore1/Main.h,
* Examples/WebBookStore1/Main.m,
* Examples/WebBookStore1/Session.h,
* Examples/WebBookStore1/Session.m,
* Examples/WebBookStore1/WebBookStore1_main.m,
* Examples/WebBookStore1/BookStore.eomodeld/Author.plist,
* Examples/WebBookStore1/BookStore.eomodeld/Book.plist,
* Examples/WebBookStore1/BookStore.eomodeld/Customer.plist,
* Examples/WebBookStore1/BookStore.eomodeld/Order.plist,
* Examples/WebBookStore1/BookStore.eomodeld/OrderPos.plist,
* Examples/WebBookStore1/BookStore.eomodeld/index.eomodeld,
* Examples/WebBookStore1/Main.gswc/Main.gswd,
* Examples/WebBookStore1/Main.gswc/Main.gswi,
* Examples/WebBookStore1/Main.gswc/Main.html,
* Examples/WebBookStore1/WebServerResources/Insert.png,
* Examples/WebBookStore1/WebServerResources/Save.png,
* Examples/WebBookStore1/WebServerResources/Delete.png,
* Examples/WebBookStore1/WebServerResources/CreateTables.png,
* Examples/WebBookStore1/WebServerResources/DropTables.png:
New files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20316 72102866-910b-0410-8b05-ffd578937521
2004-11-08 13:14:12 +00:00
|
|
|
|
|
|
|
int main(int argc, const char *argv[])
|
|
|
|
{
|
2010-06-10 03:08:52 +00:00
|
|
|
/* WOApplicationMain passes the arguments to process any
|
|
|
|
default settings and instantiates the class named as the
|
|
|
|
first parameter to make it the application object.
|
|
|
|
This should be the name of the principal class of the application.
|
|
|
|
The application object should implement it initialization in its
|
|
|
|
-init method. It will be sent -run to start the default run loop.
|
|
|
|
The run loop will listen for requests from the current web adaptor. */
|
|
|
|
int ret=0;
|
|
|
|
NSAutoreleasePool *arp = [NSAutoreleasePool new];
|
|
|
|
|
|
|
|
ret = WOApplicationMain(@"Application", argc, argv);
|
|
|
|
[arp release];
|
* Examples/WebBookStore1: New example.
* Examples/WebBookStore1/Application.h,
* Examples/WebBookStore1/Application.m,
* Examples/WebBookStore1/DirectAction.h,
* Examples/WebBookStore1/DirectAction.m,
* Examples/WebBookStore1/GNUmakefile,
* Examples/WebBookStore1/Main.h,
* Examples/WebBookStore1/Main.m,
* Examples/WebBookStore1/Session.h,
* Examples/WebBookStore1/Session.m,
* Examples/WebBookStore1/WebBookStore1_main.m,
* Examples/WebBookStore1/BookStore.eomodeld/Author.plist,
* Examples/WebBookStore1/BookStore.eomodeld/Book.plist,
* Examples/WebBookStore1/BookStore.eomodeld/Customer.plist,
* Examples/WebBookStore1/BookStore.eomodeld/Order.plist,
* Examples/WebBookStore1/BookStore.eomodeld/OrderPos.plist,
* Examples/WebBookStore1/BookStore.eomodeld/index.eomodeld,
* Examples/WebBookStore1/Main.gswc/Main.gswd,
* Examples/WebBookStore1/Main.gswc/Main.gswi,
* Examples/WebBookStore1/Main.gswc/Main.html,
* Examples/WebBookStore1/WebServerResources/Insert.png,
* Examples/WebBookStore1/WebServerResources/Save.png,
* Examples/WebBookStore1/WebServerResources/Delete.png,
* Examples/WebBookStore1/WebServerResources/CreateTables.png,
* Examples/WebBookStore1/WebServerResources/DropTables.png:
New files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20316 72102866-910b-0410-8b05-ffd578937521
2004-11-08 13:14:12 +00:00
|
|
|
|
2010-06-10 03:08:52 +00:00
|
|
|
return ret;
|
* Examples/WebBookStore1: New example.
* Examples/WebBookStore1/Application.h,
* Examples/WebBookStore1/Application.m,
* Examples/WebBookStore1/DirectAction.h,
* Examples/WebBookStore1/DirectAction.m,
* Examples/WebBookStore1/GNUmakefile,
* Examples/WebBookStore1/Main.h,
* Examples/WebBookStore1/Main.m,
* Examples/WebBookStore1/Session.h,
* Examples/WebBookStore1/Session.m,
* Examples/WebBookStore1/WebBookStore1_main.m,
* Examples/WebBookStore1/BookStore.eomodeld/Author.plist,
* Examples/WebBookStore1/BookStore.eomodeld/Book.plist,
* Examples/WebBookStore1/BookStore.eomodeld/Customer.plist,
* Examples/WebBookStore1/BookStore.eomodeld/Order.plist,
* Examples/WebBookStore1/BookStore.eomodeld/OrderPos.plist,
* Examples/WebBookStore1/BookStore.eomodeld/index.eomodeld,
* Examples/WebBookStore1/Main.gswc/Main.gswd,
* Examples/WebBookStore1/Main.gswc/Main.gswi,
* Examples/WebBookStore1/Main.gswc/Main.html,
* Examples/WebBookStore1/WebServerResources/Insert.png,
* Examples/WebBookStore1/WebServerResources/Save.png,
* Examples/WebBookStore1/WebServerResources/Delete.png,
* Examples/WebBookStore1/WebServerResources/CreateTables.png,
* Examples/WebBookStore1/WebServerResources/DropTables.png:
New files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@20316 72102866-910b-0410-8b05-ffd578937521
2004-11-08 13:14:12 +00:00
|
|
|
}
|