summaryrefslogtreecommitdiff
path: root/core/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/main.cpp')
-rw-r--r--core/main.cpp22
1 files changed, 12 insertions, 10 deletions
diff --git a/core/main.cpp b/core/main.cpp
index cd47654..b7d2204 100644
--- a/core/main.cpp
+++ b/core/main.cpp
@@ -1,16 +1,18 @@
-// For compilers that support precompilation, includes "wx.h".
-#include <wx/wxprec.h>
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
+#include "commonheaders.h"
+
+class EvilCore: public wxApp
+{
+public:
+ virtual bool OnInit();
+};
-#ifndef WX_PRECOMP
-// Include your minimal set of headers here, or wx.h
-#include <wx/wx.h>
-#endif
-int main()
+bool EvilCore::OnInit()
{
+ void load_modules();
+ load_modules();
return 0;
}
+IMPLEMENT_APP(EvilCore)
+