summaryrefslogtreecommitdiff
path: root/core/main.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-10-15 07:30:39 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-10-15 07:30:39 +0300
commit076c9cfcf33e06218805ad0412a806005c3c63f7 (patch)
treea2038b043736beee85e012bce34f960d70ad6d74 /core/main.cpp
parentbd197c2ad7e360fb8008c50f8d423072926428dd (diff)
lord_evil, i was made plugin example for you, coz i know, you are to lazy to read docs ;)
Diffstat (limited to 'core/main.cpp')
-rw-r--r--core/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/main.cpp b/core/main.cpp
index 5d324e0..20b8501 100644
--- a/core/main.cpp
+++ b/core/main.cpp
@@ -1,6 +1,9 @@
#include "commonheaders.h"
+
+PLUGINLINK pluglink;
+
class EvilCore: public wxApp
{
public:
@@ -10,7 +13,9 @@ public:
bool EvilCore::OnInit()
{
void load_modules();
+ void run_plugins();
load_modules();
+ run_plugins();
while(true)
sleep(10);
return 0;