summaryrefslogtreecommitdiff
path: root/tipper/m_tipper.h
diff options
context:
space:
mode:
Diffstat (limited to 'tipper/m_tipper.h')
-rw-r--r--tipper/m_tipper.h4
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;