summaryrefslogtreecommitdiff
path: root/plugins/QuickMessages/src/Utils.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-26 09:20:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-26 09:20:25 +0000
commit6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch)
tree2e8bb660c908b54914abd562af8aafa4a486c846 /plugins/QuickMessages/src/Utils.h
parenta61c8728b379057fe7f0a0d86fe0b037598229dd (diff)
less TCHARs:
- TCHAR is replaced with wchar_t everywhere; - LPGENT replaced with either LPGENW or LPGEN; - fixes for ANSI plugins that improperly used _t functions; - TCHAR *t removed from MAllStrings; - ptszGroup, ptszTitle & ptszTab in OPTIONSDIALOGPAGE replaced with pwsz* git-svn-id: http://svn.miranda-ng.org/main/trunk@17133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/QuickMessages/src/Utils.h')
-rw-r--r--plugins/QuickMessages/src/Utils.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/QuickMessages/src/Utils.h b/plugins/QuickMessages/src/Utils.h
index 3f4d11770c..adfd0ffa76 100644
--- a/plugins/QuickMessages/src/Utils.h
+++ b/plugins/QuickMessages/src/Utils.h
@@ -34,10 +34,10 @@ typedef struct _tagButtonData
BYTE bInQMenu;
BYTE bOpInQMenu;
DWORD dwOPFlags;
- TCHAR *pszName;
- TCHAR *pszValue;
- TCHAR *pszOpValue;
- TCHAR *pszOpName;
+ wchar_t *pszName;
+ wchar_t *pszValue;
+ wchar_t *pszOpValue;
+ wchar_t *pszOpName;
}ButtonData;
typedef struct _tagListData
@@ -45,9 +45,9 @@ typedef struct _tagListData
SortedList* sl;
DWORD dwPos;
DWORD dwOPPos;
- TCHAR* ptszQValue;
- TCHAR* ptszOPQValue;
- TCHAR* ptszButtonName;
+ wchar_t* ptszQValue;
+ wchar_t* ptszOPQValue;
+ wchar_t* ptszButtonName;
BYTE bIsServName;
BYTE bIsOpServName;
DWORD dwOPFlags;
@@ -58,8 +58,8 @@ typedef struct _tagQuickData
DWORD dwPos;
BOOL bIsService;
BYTE fEntryType;
- TCHAR* ptszValue;
- TCHAR* ptszValueName;
+ wchar_t* ptszValue;
+ wchar_t* ptszValueName;
}QuickData;
void InitButtonsList();
@@ -68,11 +68,11 @@ int sstSortButtons(const void * vmtbi1, const void * vmtbi2);
int sstOpSortButtons(const void * vmtbi1, const void * vmtbi2);
int sstQuickSortButtons(const void * vmtbi1, const void * vmtbi2);
void li_ZeroQuickList(SortedList *pList);
-TCHAR* getMenuEntry(int entrynum,int buttonnum,BYTE mode) ;
+wchar_t* getMenuEntry(int entrynum,int buttonnum,BYTE mode) ;
int RegisterCustomButton(WPARAM wParam,LPARAM lParam);
void RemoveMenuEntryNode(SortedList *pList, int index);
void DestroyButton(int listnum);
void SaveModuleSettings(int buttonnum,ButtonData* bd);
void CleanSettings(int buttonnum,int from);
DWORD BalanceButtons(int buttonsWas,int buttonsNow);
-TCHAR* ParseString(MCONTACT hContact,TCHAR* ptszQValueIn,TCHAR* ptszText,TCHAR* ptszClip,int QVSize,int TextSize ,int ClipSize);
+wchar_t* ParseString(MCONTACT hContact,wchar_t* ptszQValueIn,wchar_t* ptszText,wchar_t* ptszClip,int QVSize,int TextSize ,int ClipSize);