From 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 26 Jul 2016 09:20:25 +0000 Subject: 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 --- plugins/NewsAggregator/Src/stdafx.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins/NewsAggregator/Src/stdafx.h') diff --git a/plugins/NewsAggregator/Src/stdafx.h b/plugins/NewsAggregator/Src/stdafx.h index b4787929cb..6640bcb4ca 100644 --- a/plugins/NewsAggregator/Src/stdafx.h +++ b/plugins/NewsAggregator/Src/stdafx.h @@ -62,14 +62,14 @@ extern UINT_PTR timerId; // check if Feeds is currently updating extern bool ThreadRunning; extern bool UpdateListFlag; -extern TCHAR tszRoot[MAX_PATH]; +extern wchar_t tszRoot[MAX_PATH]; struct ItemInfo { HWND hwndList; MCONTACT hContact; int SelNumber; - TCHAR nick[MAX_PATH]; - TCHAR url[MAX_PATH]; + wchar_t nick[MAX_PATH]; + wchar_t url[MAX_PATH]; }; //============ STRUCT USED TO MAKE AN UPDATE LIST ============ @@ -125,24 +125,24 @@ void CALLBACK timerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime void CALLBACK timerProc2(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime); bool IsMyContact(MCONTACT hContact); -void GetNewsData(TCHAR *szUrl, char **szData, MCONTACT hContact, HWND hwndDlg); +void GetNewsData(wchar_t *szUrl, char **szData, MCONTACT hContact, HWND hwndDlg); void CreateList(HWND hwndList); void UpdateList(HWND hwndList); void DeleteAllItems(HWND hwndList); -time_t __stdcall DateToUnixTime(const TCHAR *stamp, bool FeedType); +time_t __stdcall DateToUnixTime(const wchar_t *stamp, bool FeedType); void CheckCurrentFeed(MCONTACT hContact); void CheckCurrentFeedAvatar(MCONTACT hContact); -LPCTSTR CheckFeed(TCHAR* tszURL, HWND hwndDlg); +LPCTSTR CheckFeed(wchar_t* tszURL, HWND hwndDlg); void UpdateMenu(bool State); int ImportFeedsDialog(); -LPCTSTR ClearText(CMString &value, const TCHAR *message); +LPCTSTR ClearText(CMString &value, const wchar_t *message); bool DownloadFile(LPCTSTR tszURL, LPCTSTR tszLocal); void CreateAuthString(char *auth, MCONTACT hContact, HWND hwndDlg); INT_PTR CALLBACK AuthenticationProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); INT_PTR CALLBACK DlgProcImportOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); INT_PTR CALLBACK DlgProcExportOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); -MCONTACT GetContactByNick(const TCHAR *nick); -MCONTACT GetContactByURL(const TCHAR *url); +MCONTACT GetContactByNick(const wchar_t *nick); +MCONTACT GetContactByURL(const wchar_t *url); // =============== NewsAggregator SERVICES ================ // Check all Feeds info -- cgit v1.2.3