diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-15 07:43:27 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-15 07:43:27 +0000 |
commit | 3f4b8991fea70f26d296817bc5f8b72a35098440 (patch) | |
tree | 60712c32897a49a330b224ce5e8a1c0a1ee287bb /ExternalAPI/m_variables.h | |
parent | d5c649d22b371af230c10bf262e4cd9aef84c586 (diff) |
ExternalAPI:
update
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@93 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'ExternalAPI/m_variables.h')
-rw-r--r-- | ExternalAPI/m_variables.h | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/ExternalAPI/m_variables.h b/ExternalAPI/m_variables.h index d932d5e..1264643 100644 --- a/ExternalAPI/m_variables.h +++ b/ExternalAPI/m_variables.h @@ -25,11 +25,11 @@ #endif
#ifndef VARIABLES_NOHELPER
-#include "m_button.h"
+#include <m_button.h>
#endif
#ifndef SIZEOF
-#include "win2k.h"
+#include <win2k.h>
#endif
// --------------------------------------------------------------------------
@@ -172,32 +172,6 @@ __inline static TCHAR *variables_parse(TCHAR *tszFormat, TCHAR *tszExtraText, HA return (TCHAR *)CallService(MS_VARS_FORMATSTRING, (WPARAM)&fi, 0);
}
-
-__inline static char *variables_parse_char(char *szFormat, char *szExtraText, HANDLE hContact)
-{
- FORMATINFO fi = {0};
-
- fi.cbSize = sizeof(fi);
- fi.szFormat = szFormat;
- fi.szExtraText = szExtraText;
- fi.hContact = hContact;
- fi.flags = 0;
-
- return (char *) CallService(MS_VARS_FORMATSTRING, (WPARAM)&fi, 0);
-}
-__inline static wchar_t *variables_parse_wchar(wchar_t *wszFormat, wchar_t *wszExtraText, HANDLE hContact)
-{
- FORMATINFO fi = {0};
-
- fi.cbSize = sizeof(fi);
- fi.wszFormat = wszFormat;
- fi.wszExtraText = wszExtraText;
- fi.hContact = hContact;
- fi.flags = FIF_UNICODE;
-
- return (wchar_t *) CallService(MS_VARS_FORMATSTRING, (WPARAM)&fi, 0);
-}
-
#endif
__inline static TCHAR *variables_parse_ex(TCHAR *tszFormat, TCHAR *tszExtraText, HANDLE hContact,
|