mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-24 12:11:18 +00:00
compiles without warning cleanup, removed logs, added exceptions * GSWDatabase/WODisplayGroup.h cleanup includes * Examples/WebBookStore1/Main.m removed create and drop tables. * Examples/WebBookStore1/WebBookStore1_main.m adapt to WO naming * Examples/WebBookStore1/Main.gswc -> Main.wo * Examples/WebBookStore1/GNUmakefile updated * Examples/WebBookStore1/Application.h * Examples/WebBookStore1/DirectAction.h * Examples/WebBookStore1/DirectAction.m * Examples/WebBookStore1/Session.h * Examples/WebBookStore1/Main.h WO naming * Examples/WebBookStore1/README new file * Examples/WebBookStore1/BookStore.eomodeld/index.eomodeld added more sample data to connection dictionary * GNUmakefile add GSWDatabase to main project makefile git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@30643 72102866-910b-0410-8b05-ffd578937521
23 lines
764 B
Objective-C
23 lines
764 B
Objective-C
#ifndef GNUSTEP
|
|
#include <GNUstepBase/GNUstep.h>
|
|
#endif
|
|
|
|
#include <WebObjects/WebObjects.h>
|
|
|
|
int main(int argc, const char *argv[])
|
|
{
|
|
/* 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];
|
|
|
|
return ret;
|
|
}
|