Home Projects Jobs Clientele Contact
CPPSERV Documentation Download TODO Mailing lists Bug tracker News RSS Feed Browse source

header.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define EXPORT_SERVLET(name)

Define Documentation

#define EXPORT_SERVLET ( name   ) 


extern "C" { \
        extern int INeedServEngineVersion; \
        servlet::Servlet* name##_createServlet() \
        { \
            int i=0; \
            i = INeedServEngineVersion; \
            return new name(); \
        } \
name Name of the class to instantiate as servlet This macro should appear exactly once in each servlet. Pass name of the class that implements your Servlet::service method as name argument

Definition at line 9 of file header.h.

SourceForge.net Logo