summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-08-01 15:22:20 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-08-01 15:22:20 +0300
commitd83d23b9a9df04386966452f7b84d84b01dbb3fb (patch)
treed67fb388932a54bb1875501a589d0c9a6fdb42a7 /api
parentb36bf78a9dc63d9181991d1342dcd91520951a28 (diff)
new file: pluginapi.h
Diffstat (limited to 'api')
-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