From 57d7a593cb444941ade06bde7911aaa77d431cc4 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Tue, 15 Oct 2013 11:45:00 +0000 Subject: code cleanup registermodule service removed git-svn-id: http://svn.miranda-ng.org/main/trunk@6497 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/DbEditorPP/src/knownmodules.cpp | 84 --------------------------------- 1 file changed, 84 deletions(-) delete mode 100644 plugins/DbEditorPP/src/knownmodules.cpp (limited to 'plugins/DbEditorPP/src/knownmodules.cpp') diff --git a/plugins/DbEditorPP/src/knownmodules.cpp b/plugins/DbEditorPP/src/knownmodules.cpp deleted file mode 100644 index 4e44aa740c..0000000000 --- a/plugins/DbEditorPP/src/knownmodules.cpp +++ /dev/null @@ -1,84 +0,0 @@ -#include "headers.h" - -BYTE UseKnownModList; - -#define MAXMODS 1024 -char *KnownModules[MAXMODS]; -int KnownModulesCount = 0; - -INT_PTR RegisterModule(WPARAM wParam, LPARAM lParam) -{ - char **mods = (char**)wParam; - int count = lParam; - int i; - for (i=0;iname,&dbv) && dbv.type == DBVT_ASCIIZ) - { - temp = (char*)mir_alloc((strlen(dbv.pszVal)+5)*sizeof(char)); - if (!temp) break; - strcpy(temp,dbv.pszVal); - strcat(temp,",\0"); - var = strtok(temp,", "); - while (var) - { - if (KnownModulesCountnext; - } - FreeModuleSettingLL(&msll); - - UseKnownModList = db_get_b(NULL,modname,"UseKnownModList",0); -} -- cgit v1.2.3