diff options
author | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-07-26 09:20:25 +0000 |
commit | 6e53dfca72b932c4bdcd7aa02ca62bf8b2630eac (patch) | |
tree | 2e8bb660c908b54914abd562af8aafa4a486c846 /plugins/Exchange/src/emails.h | |
parent | a61c8728b379057fe7f0a0d86fe0b037598229dd (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/Exchange/src/emails.h')
-rw-r--r-- | plugins/Exchange/src/emails.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/Exchange/src/emails.h b/plugins/Exchange/src/emails.h index 6dedbd24ce..2a624b8262 100644 --- a/plugins/Exchange/src/emails.h +++ b/plugins/Exchange/src/emails.h @@ -33,9 +33,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. struct TEmailHeader{
int cbSize;
DWORD flags; //flags
- TCHAR *szSender; //pointer to string that receives the sender name
+ wchar_t *szSender; //pointer to string that receives the sender name
int cSender; //size of szSender buffer
- TCHAR *szSubject; //pointer to string that receives the email subject
+ wchar_t *szSubject; //pointer to string that receives the email subject
int cSubject; //size of szSubject buffer
char *emailID;
};
@@ -50,7 +50,7 @@ class CExchangeServer{ int cConnections; //number of connection attempts
int bTryConnect;
- int DoConnect(TCHAR *user, TCHAR *password, TCHAR *server, int port);
+ int DoConnect(wchar_t *user, wchar_t *password, wchar_t *server, int port);
int DoDisconnect();
public:
@@ -76,18 +76,18 @@ class CExchangeServer{ /*
*/
- int MarkEmailAsRead(TCHAR *emailID);
+ int MarkEmailAsRead(wchar_t *emailID);
- int OpenMessage(TCHAR *emailID);
+ int OpenMessage(wchar_t *emailID);
int Check(int bNoEmailsNotify = FALSE);
};
extern CExchangeServer exchangeServer;
-int ShowMessage(TCHAR *message, int cUnreadEmails);
-int ShowPopupMessage(TCHAR *title, TCHAR *message, int cUnreadEmails);
-int ShowMessageBoxMessage(TCHAR *title, TCHAR *message, int cUnreadEmails);
+int ShowMessage(wchar_t *message, int cUnreadEmails);
+int ShowPopupMessage(wchar_t *title, wchar_t *message, int cUnreadEmails);
+int ShowMessageBoxMessage(wchar_t *title, wchar_t *message, int cUnreadEmails);
int ShowEmailsWindow(int cUnreadEmails);
|