diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-05 00:46:19 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-05 00:46:19 +0300 |
commit | a8527496d9c8eb81710e718be7be8a9ae62a48b4 (patch) | |
tree | 962767f520dd3dea8f23fbd7161114fcab1431ff /api | |
parent | 03951c212bc3054a6b89a9fff9a125bace52224d (diff) |
new file: api/core_services.h
modified: api/pluginapi.h
modified: core/main.cpp
modified: core/plugin.h
new file: core/sqlite3.dll
new file: lib/libsqlite3.a
new file: modules/dbsqlite/Makefile
new file: modules/dbsqlite/main.cpp
new file: modules/dbsqlite/sqlite3.h
modified: modules/example/main.cpp
Diffstat (limited to 'api')
-rw-r--r-- | api/core_services.h | 7 | ||||
-rw-r--r-- | api/pluginapi.h | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/api/core_services.h b/api/core_services.h new file mode 100644 index 0000000..c0d241d --- /dev/null +++ b/api/core_services.h @@ -0,0 +1,7 @@ +#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/pluginapi.h b/api/pluginapi.h index cce9605..3cb5b63 100644 --- a/api/pluginapi.h +++ b/api/pluginapi.h @@ -3,7 +3,8 @@ #define PLUGIN_MAKE_VERSION(a,b,c,d) (((((DWORD)(a))&0xFF)<<24)|((((DWORD)(b))&0xFF)<<16)|((((DWORD)(c))&0xFF)<<8)|(((DWORD)(d))&0xFF)) -#define GLOBAL_ACCESS_FLAG 0x0010 +#define F_GLOBAL_ACCESS 0x0010 +#define F_DB_PLUGIN 0x0001 typedef INT_PTR (*SERVICE)(WPARAM,LPARAM); |