blob: 716b7b03d167bf9cd3ab8d468876e7c9d620b823 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include "commonheaders.h"
std::list<plugin*> plugins;
std::list<service*> services;
void CreateServiceFunction(const char* name, SERVICE svc);
void* CallService(const char *,void*);
int ServiceExists(const char *);
PLUGINLINK pluglink = {&CreateServiceFunction, &CallService, &ServiceExists};
class EvilCore: public wxApp
{
public:
virtual bool OnInit();
};
bool EvilCore::OnInit()
{
void load_modules();
void run_plugins();
load_modules();
run_plugins();
while(true)
sleep(10);
return 0;
}
IMPLEMENT_APP(EvilCore)
|