diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-23 03:22:18 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2006-11-23 03:22:18 +0000 |
commit | 6db050eb2d23035c71971cc88219211bbacca23d (patch) | |
tree | 29c91aa26ece9421eb638b33576fd7ad866418c7 /tipper/m_tipper.h | |
parent | 96101e2721d4cb277bf0b9d02f077dc2dd9087d8 (diff) |
use ansi font services if unicode unavailable
bigfixes to allow pure ansi build
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@56 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'tipper/m_tipper.h')
-rw-r--r-- | tipper/m_tipper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tipper/m_tipper.h b/tipper/m_tipper.h index 81dcb59..a2b5abf 100644 --- a/tipper/m_tipper.h +++ b/tipper/m_tipper.h @@ -5,11 +5,11 @@ // translation function type
// use hContact, module and setting to read your db value(s) and put the resulting string into buff
// return buff if the translation was successful, or return 0 for failure
-typedef wchar_t *(TranslateFunc)(HANDLE hContact, const char *module, const char *setting_or_prefix, wchar_t *buff, int bufflen);
+typedef TCHAR *(TranslateFunc)(HANDLE hContact, const char *module, const char *setting_or_prefix, TCHAR *buff, int bufflen);
typedef struct {
TranslateFunc *tfunc; // address of your translation function (see typedef above)
- const wchar_t *name; // make sure this is unique, and DO NOT translate it
+ const TCHAR *name; // make sure this is unique, and DO NOT translate it
DWORD id; // will be overwritten by Tipper - do not use
} DBVTranslation;
|