summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api/pluginapi.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/api/pluginapi.h b/api/pluginapi.h
new file mode 100644
index 0000000..91c8d47
--- /dev/null
+++ b/api/pluginapi.h
@@ -0,0 +1,13 @@
+#ifndef PLUGINAPI_H
+#define PLUGINAPI_H
+
+#define PLUGIN_MAKE_VERSION(a,b,c,d) (((((DWORD)(a))&0xFF)<<24)|((((DWORD)(b))&0xFF)<<16)|((((DWORD)(c))&0xFF)<<8)|(((DWORD)(d))&0xFF))
+
+typedef struct
+{
+ int cbSize;
+ char *shortName, *description, *author, *authorEmail;
+ DWORD version;
+ BYTE flags; //unused now
+} PLUGININFO;
+#endif