summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-05-27 06:31:07 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-05-27 06:31:07 +0000
commitc1eaaca28f3f304f14b2cc85c154d7e90d5967e7 (patch)
tree631f34f19cfbe07ca767f2f14702e2fa33658bc9
parent834102b2dc199bb715de9f24b62549a5c20e8ab0 (diff)
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@125 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
-rw-r--r--dbeditorpp/Version.rc38
-rw-r--r--dbeditorpp/modsettingenum.h30
2 files changed, 53 insertions, 15 deletions
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