From c1eaaca28f3f304f14b2cc85c154d7e90d5967e7 Mon Sep 17 00:00:00 2001 From: mataes2007 Date: Fri, 27 May 2011 06:31:07 +0000 Subject: git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@125 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb --- dbeditorpp/Version.rc | 38 ++++++++++++++++++++++++++++++++++++++ dbeditorpp/modsettingenum.h | 30 +++++++++++++++--------------- 2 files changed, 53 insertions(+), 15 deletions(-) create mode 100644 dbeditorpp/Version.rc diff --git a/dbeditorpp/Version.rc b/dbeditorpp/Version.rc new file mode 100644 index 0000000..e637f0c --- /dev/null +++ b/dbeditorpp/Version.rc @@ -0,0 +1,38 @@ +// Microsoft Visual C++ generated resource script. +// +#include "afxres.h" +#include "version.h" + +#ifdef _WIN32 +LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL +#endif //_WIN32 + +VS_VERSION_INFO VERSIONINFO + FILEVERSION __FILEVERSION_STRING + PRODUCTVERSION __FILEVERSION_STRING + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x0L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "000004b0" + BEGIN + VALUE "FileDescription", __DESCRIPTION + VALUE "InternalName", __PLUGIN_NAME + VALUE "LegalCopyright", __COPYRIGHT + VALUE "OriginalFilename", __FILENAME + VALUE "ProductName", __PLUGIN_NAME + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0, 1200 + END +END diff --git a/dbeditorpp/modsettingenum.h b/dbeditorpp/modsettingenum.h index b40a3b4..0ef32f8 100644 --- a/dbeditorpp/modsettingenum.h +++ b/dbeditorpp/modsettingenum.h @@ -1,17 +1,17 @@ -struct ModSetLinkLinkItem { - char *name; +struct ModSetLinkLinkItem { + char *name; BYTE *next; //struct ModSetLinkLinkItem - int known; -}; - -typedef struct { - struct ModSetLinkLinkItem *first; - struct ModSetLinkLinkItem *last; -} ModuleSettingLL; - -int EnumModules(ModuleSettingLL *msll); -int EnumSettings(HANDLE hContact, char* module, ModuleSettingLL *msll); - -void FreeModuleSettingLL(ModuleSettingLL *msll); - + int known; +}; + +typedef struct { + struct ModSetLinkLinkItem *first; + struct ModSetLinkLinkItem *last; +} ModuleSettingLL; + +int EnumModules(ModuleSettingLL *msll); +int EnumSettings(HANDLE hContact, char* module, ModuleSettingLL *msll); + +void FreeModuleSettingLL(ModuleSettingLL *msll); + int IsModuleEmpty(HANDLE hContact, char* szModule); \ No newline at end of file -- cgit v1.2.3