diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-02 20:37:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-02 20:37:03 +0000 |
commit | d961f42c7f709929258c2a5b33fbb47acc399522 (patch) | |
tree | 9582b5cc8adc3c74cb9abd0eda60fe910617f154 /plugins/helpers/gen_helpers.h | |
parent | 5e81836e642adcbed92f9fdaa32afb80546e3aee (diff) |
- 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
Diffstat (limited to 'plugins/helpers/gen_helpers.h')
-rw-r--r-- | plugins/helpers/gen_helpers.h | 24 |
1 files changed, 0 insertions, 24 deletions
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
|