From 538b72944225caef47f0f5df0807fe09b5edbddf Mon Sep 17 00:00:00 2001
From: pixel <pixel>
Date: Thu, 26 Dec 2002 02:01:38 +0000
Subject: Still some VC6++ port...

---
 include/Main.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'include')

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
-- 
cgit v1.2.3