From e6d086fd2db736892290b0dfd8b38e1f12c093be Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Fri, 15 Oct 2010 03:32:24 +0300 Subject: new file: api/pluginapi.h modified: core/core.cbp modified: core/main.cpp new file: core/modules.cpp new file: core/modules.h --- core/main.cpp | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'core/main.cpp') 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 -#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 -#endif -int main() +bool EvilCore::OnInit() { + void load_modules(); + load_modules(); return 0; } +IMPLEMENT_APP(EvilCore) + -- cgit v1.2.3