From 58072b25fc6f1439e1a2752cde6fc94e780972c2 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 5 Aug 2013 13:20:54 +0000 Subject: removed not used functions git-svn-id: http://svn.miranda-ng.org/main/trunk@5591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/helpers/gen_helpers.h | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'plugins/helpers/gen_helpers.h') diff --git a/plugins/helpers/gen_helpers.h b/plugins/helpers/gen_helpers.h index 29c1dafbf7..c4c46dc6bd 100644 --- a/plugins/helpers/gen_helpers.h +++ b/plugins/helpers/gen_helpers.h @@ -19,16 +19,10 @@ #ifndef __GEN_HELPERS_H #define __GEN_HELPERS_H -char *Hlp_GetProtocolNameA(const char *proto); TCHAR *Hlp_GetProtocolName(const char *proto); - -char *Hlp_GetDlgItemTextA(HWND hwndDlg, int nIDDlgItem); TCHAR *Hlp_GetDlgItemText(HWND hwndDlg, int nIDDlgItem); -char *Hlp_GetWindowTextA(HWND hwndDlg); TCHAR *Hlp_GetWindowText(HWND hwndDlg); -char* u2a( wchar_t* src ); -wchar_t* a2u( char* src ); int ttoi(TCHAR *string); TCHAR *itot(int num); @@ -36,9 +30,6 @@ TCHAR *itot(int num); #define __LOGLEVEL_DEBUG 10 #define __LOGLEVEL_INFO 9 -#define __LOGLEVEL_WARN 8 -#define __LOGLEVEL_ERROR 7 -#define __LOGLEVEL_FATAL 6 #ifndef LOGLEVEL #ifdef _DEBUG @@ -50,8 +41,6 @@ TCHAR *itot(int num); int AddDebugLogMessageA(const char* fmt, ...); int AddDebugLogMessage(const TCHAR* fmt, ...); -int AddErrorLogMessageA(const char* fmt, ...); -int AddErrorLogMessage(const TCHAR* fmt, ...); #if LOGLEVEL >= __LOGLEVEL_DEBUG #define log_debugA AddDebugLogMessageA @@ -69,28 +58,4 @@ static __inline int log_infoA(const char* fmt, ...) { return 0; } static __inline int log_info(const TCHAR* fmt, ...) { return 0; } #endif -#if LOGLEVEL >= __LOGLEVEL_WARN -#define log_warnA AddDebugLogMessageA -#define log_warn AddDebugLogMessage -#else -static __inline int log_warnA(const char* fmt, ...) { return 0; } -static __inline int log_warn(const TCHAR* fmt, ...) { return 0; } -#endif - -#if LOGLEVEL >= __LOGLEVEL_ERROR -#define log_errorA AddErrorLogMessageA -#define log_error AddErrorLogMessage -#else -static __inline int log_errorA(const char* fmt, ...) { return 0; } -static __inline int log_error(const TCHAR* fmt, ...) { return 0; } -#endif - -#if LOGLEVEL >= __LOGLEVEL_FATAL -#define log_fatalA AddErrorLogMessageA -#define log_fatal AddErrorMessage -#else -static __inline int log_fatalA(const char* fmt, ...) { return 0; } -static __inline int log_fatal(const TCHAR* fmt, ...) { return 0; } -#endif - #endif -- cgit v1.2.3