summaryrefslogtreecommitdiff
path: root/plugins/helpers/gen_helpers.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-08-05 13:20:54 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-08-05 13:20:54 +0000
commit58072b25fc6f1439e1a2752cde6fc94e780972c2 (patch)
treec441fea24a3ef4717921834c79a08213c41f0d7e /plugins/helpers/gen_helpers.h
parent1d9e3c88c6a4930241d82812c299a31b739c1aa6 (diff)
removed not used functions
git-svn-id: http://svn.miranda-ng.org/main/trunk@5591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/helpers/gen_helpers.h')
-rw-r--r--plugins/helpers/gen_helpers.h35
1 files changed, 0 insertions, 35 deletions
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