diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-13 00:17:40 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-10-13 00:17:40 +0300 |
commit | 42992bc2c04dcfd322ead3fda1134439a2cfcf3a (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /api | |
parent | 599d73442416d9bad663e4d0900265e073946600 (diff) |
cleanup, switching to wxwidgets as main development framework
Diffstat (limited to 'api')
-rw-r--r-- | api/core_services.h | 7 | ||||
-rw-r--r-- | api/db.h | 21 | ||||
-rw-r--r-- | api/plugin_helper.h | 7 | ||||
-rw-r--r-- | api/pluginapi.h | 27 |
4 files changed, 0 insertions, 62 deletions
diff --git a/api/core_services.h b/api/core_services.h deleted file mode 100644 index c0d241d..0000000 --- a/api/core_services.h +++ /dev/null @@ -1,7 +0,0 @@ -#ifndef CORE_SERVICES_H -#define CORE_SERVICES_H -#define SVC_TEST "Core/Test" -#define SVC_SHUTDOWN "Core/Shutdown" -#define Shutdown() CallService(SVC_SHUTDOWN, 0, 0) -#define TestService() CallService(SVC_TEST, 0, 0) -#endif diff --git a/api/db.h b/api/db.h deleted file mode 100644 index 337f8bb..0000000 --- a/api/db.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef DB_H -#define DB_H -#define D_INT 0x0001 -#define D_STRING 0x0002 -#define D_BLOB 0x0003 -struct DATA -{ - WORD wType; //data type - void* pData; //pointer to some data (set or get buffer) - char* szModule; //database nodue (used when reading info) - char* szSetting; //setting name -}; - -#define DB_WRITE_SETTING "Db/WriteSetting" -#define DB_GET_SETTING "Db/GetSetting" -#define DB_DELETE_SETTING "Db/DeleteSetting" -#define dbGetSetting(a, b) CallService(DB_GET_SETTING, a, b) -#define dbSetSetting(a, b) CallService(DB_WRITE_SETTING, a, b) -#define dbDeleteSetting(a, b) CallService(DB_DELETE_SETTING, a, b) - -#endif diff --git a/api/plugin_helper.h b/api/plugin_helper.h deleted file mode 100644 index 79eef74..0000000 --- a/api/plugin_helper.h +++ /dev/null @@ -1,7 +0,0 @@ -#ifndef PLUGIN_HELPER_H -#define PLUGIN_HELPER_H -#define CallService(a,b,c) pluginLink->CallService(a,b,c) -#define CreateServiceFunction(a,b) pluginLink->CreateServiceFunction(a,b) -#define ServiceExists(a) pluginLink->ServiceExists(a) -#endif - diff --git a/api/pluginapi.h b/api/pluginapi.h deleted file mode 100644 index 2bcc480..0000000 --- a/api/pluginapi.h +++ /dev/null @@ -1,27 +0,0 @@ -#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)) - -#define F_GLOBAL_ACCESS 0x0010 -#define F_DB_PLUGIN 0x0001 //database plugin, can be only one at one time - -typedef INT_PTR (*SERVICE)(WPARAM,LPARAM); - -typedef struct tagPLUGINLINK -{ -//core api - HANDLE (*CreateServiceFunction)(const char *,SERVICE); - INT_PTR (*CallService)(const char *,WPARAM,LPARAM); - int (*ServiceExists)(const char *); -} PLUGINLINK; - - -typedef struct -{ //plugin description - int cbSize; - char *shortName, *description, *author, *authorEmail; - DWORD version; - WORD flags; -} PLUGININFO; -#endif |