summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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