summaryrefslogtreecommitdiff
path: root/api/ec_pluginapi.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-10-19 05:17:48 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-10-19 05:17:48 +0300
commitb50a786c2758a34eff01a491ef103bd5a053ba90 (patch)
treeecc804a103e8154cf29765d2bfa28be99ef5e031 /api/ec_pluginapi.h
parenta5b11748c6b322a245b2d2352979bf199aa31afd (diff)
do not use wxwidgets in core, boost and ace choosen for core development
Diffstat (limited to 'api/ec_pluginapi.h')
-rw-r--r--api/ec_pluginapi.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/api/ec_pluginapi.h b/api/ec_pluginapi.h
new file mode 100644
index 0000000..3e9649b
--- /dev/null
+++ b/api/ec_pluginapi.h
@@ -0,0 +1,29 @@
+#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
+{
+ int size;
+ wchar_t *name, *description, *author, *authoremail;
+ unsigned long version;
+
+}PLUGININFO;
+
+
+#endif // PLUGINAPI_H_INCLUDED