1 | #include "plugin.h" |
---|---|
2 | #include "service.h" |
3 | |
4 | struct Proxy : public Service { |
5 | State *proxyState; |
6 | }; |
7 | |
8 | Proxy *gProxyThis = 0; |
9 | |
10 | extern "C"{ |
11 | void plugin_init() { gProxyThis = new Proxy; } |
12 | |
13 | void plugin_entry() {} |
14 | } |
15 |
1 | #include "plugin.h" |
---|---|
2 | #include "service.h" |
3 | |
4 | struct Proxy : public Service { |
5 | State *proxyState; |
6 | }; |
7 | |
8 | Proxy *gProxyThis = 0; |
9 | |
10 | extern "C"{ |
11 | void plugin_init() { gProxyThis = new Proxy; } |
12 | |
13 | void plugin_entry() {} |
14 | } |
15 |