From d961f42c7f709929258c2a5b33fbb47acc399522 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 2 Jul 2012 20:37:03 +0000 Subject: - mir_cslock - class for locking critical sections; - unneeded helpers removed; - code cleaning in TTB git-svn-id: http://svn.miranda-ng.org/main/trunk@727 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/helpers/gen_helpers.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'plugins/helpers/gen_helpers.h') diff --git a/plugins/helpers/gen_helpers.h b/plugins/helpers/gen_helpers.h index 110ea9d30a..896b2638f4 100644 --- a/plugins/helpers/gen_helpers.h +++ b/plugins/helpers/gen_helpers.h @@ -94,28 +94,4 @@ static __inline int log_fatalA(const char* fmt, ...) { return 0; } static __inline int log_fatal(const TCHAR* fmt, ...) { return 0; } #endif -int Hlp_UnicodeCheck(char *szPluginName, BOOL bFore, const char *szModule); -#define UnicodeCheck(x, y) Hlp_UnicodeCheck(x, y, MODULENAME) - -static __inline char *variables_parsedupA(char *szFormat, char *szExtraText, HANDLE hContact) { - - if (ServiceExists(MS_VARS_FORMATSTRING)) { - FORMATINFO fi; - char *szParsed, *szResult; - - ZeroMemory(&fi, sizeof(fi)); - fi.cbSize = sizeof(fi); - fi.szFormat = szFormat; - fi.szExtraText = szExtraText; - fi.hContact = hContact; - szParsed = (char *)CallService(MS_VARS_FORMATSTRING, (WPARAM)&fi, 0); - if (szParsed) { - szResult = _strdup(szParsed); - CallService(MS_VARS_FREEMEMORY, (WPARAM)szParsed, 0); - return szResult; - } - } - return szFormat?_strdup(szFormat):szFormat; -} - #endif -- cgit v1.2.3