summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/example/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/example/main.cpp b/modules/example/main.cpp
index 76a004d..a38f44f 100644
--- a/modules/example/main.cpp
+++ b/modules/example/main.cpp
@@ -1,7 +1,6 @@
#include <windows.h>
-#include <api.h>
+
#include <pluginapi.h>
-#include <iostream>
HINSTANCE hInst;
BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) //default dll entry point
@@ -18,7 +17,7 @@ PLUGININFO pluginInfo =
0, //author
0, //author email
PLUGIN_MAKE_VERSION(0,0,0,1), //version
- 0 //flags (unused)
+ GLOBAL_ACCESS_FLAG //flags
};
extern "C" __declspec(dllexport) PLUGININFO* SetPluginInfo()