summaryrefslogtreecommitdiff
path: root/api/pluginapi.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-10-15 03:32:24 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-10-15 03:32:24 +0300
commite6d086fd2db736892290b0dfd8b38e1f12c093be (patch)
tree7419d09c763cf9694dffb3950ff8e5c70a8236be /api/pluginapi.h
parent0d4166dadd7d9404d42e04d57b71a595d8533ace (diff)
new file: api/pluginapi.h
modified: core/core.cbp modified: core/main.cpp new file: core/modules.cpp new file: core/modules.h
Diffstat (limited to 'api/pluginapi.h')
-rw-r--r--api/pluginapi.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/api/pluginapi.h b/api/pluginapi.h
new file mode 100644
index 0000000..9b89b66
--- /dev/null
+++ b/api/pluginapi.h
@@ -0,0 +1,28 @@
+#ifndef PLUGINAPI_H_INCLUDED
+#define PLUGINAPI_H_INCLUDED
+
+/*
+this is genereic plugin api header, only baisc c/c++ here
+we need to support also non wxwidgets plugins
+*/
+
+
+typedef void* (*SERVICE)(void*);
+
+
+typedef struct
+{
+ void* (*CreateServiceFunction)(const char *,SERVICE);
+ void* (*CallService)(const char *,void*);
+ int (*ServiceExists)(const char *);
+} PLUGINLINK;
+
+typedef struct
+{
+ wchar_t *name, *description, *author, *authoremail;
+ unsigned long version;
+
+}PLUGININFO;
+
+
+#endif // PLUGINAPI_H_INCLUDED