summaryrefslogtreecommitdiff
path: root/core/main.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-10-15 03:32:24 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-10-15 03:32:24 +0300
commite6d086fd2db736892290b0dfd8b38e1f12c093be (patch)
tree7419d09c763cf9694dffb3950ff8e5c70a8236be /core/main.cpp
parent0d4166dadd7d9404d42e04d57b71a595d8533ace (diff)
new file: api/pluginapi.h
modified: core/core.cbp modified: core/main.cpp new file: core/modules.cpp new file: core/modules.h
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)
+