diff options
author | pixel <pixel> | 2002-12-26 02:01:38 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-12-26 02:01:38 +0000 |
commit | 538b72944225caef47f0f5df0807fe09b5edbddf (patch) | |
tree | 30159cf846313d4fd4d86d7e94516a5a2c84c266 /include | |
parent | a9d7568fd2acc95c403992801ec3eff5cdda5d29 (diff) |
Still some VC6++ port...
Diffstat (limited to 'include')
-rw-r--r-- | include/Main.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/Main.h b/include/Main.h index 4a81b3e..cbc6dea 100644 --- a/include/Main.h +++ b/include/Main.h @@ -9,6 +9,8 @@ class Main : public Base { virtual ~Main(); virtual int startup() throw (GeneralException) = 0; protected: + static int truemain(Main *, int, char **, char **); + private: void set_args(int, char **, char **); int argc; char ** argv; @@ -19,6 +21,6 @@ class Main : public Base { }; #define CODE_BEGINS class Appli : public Main { -#define CODE_ENDS } * Application = new Appli(); +#define CODE_ENDS }; int main(int argc, char ** argv, char ** enve) { return Main::truemain(&Appli(), argc, argv, enve); } #endif |