diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-06-14 16:44:53 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-06-14 16:44:53 +0000 |
commit | 3f38d0c43e5658ddbd77c9f0285022a8f7ae0e10 (patch) | |
tree | 87d45ad588605cde098846cc5e2e2c0af261347f /plugins/GmailNotifier/src/gmail.h | |
parent | 31592cb9862a1fb4c17bee25ea118d623c8a248f (diff) |
unicode popups and others
git-svn-id: http://svn.miranda-ng.org/main/trunk@9474 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/GmailNotifier/src/gmail.h')
-rw-r--r-- | plugins/GmailNotifier/src/gmail.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/GmailNotifier/src/gmail.h b/plugins/GmailNotifier/src/gmail.h index 67e5eeda85..fa9cd4dbdd 100644 --- a/plugins/GmailNotifier/src/gmail.h +++ b/plugins/GmailNotifier/src/gmail.h @@ -28,10 +28,10 @@ #define IDI_TRAY WM_USER+6
#define pluginName "GmailMNotifier"
#define _MAX_DOWN_BUFFER 65536
-#define LINK "https://www.google.com/accounts/ServiceLoginAuth?continue=https%3A%2F%2Fmail.google.com%2Fmail&service=mail&Email="
-#define FORMDATA1 "<body onload=document.gmail.submit();><form name=gmail action=https://www.google.com/a/"
-#define FORMDATA2 "/LoginAction method=POST><input type=hidden name=continue value=https://mail.google.com/a/"
-#define FORMDATA3 "><INPUT type=hidden value=mail name=service>"
+#define LINK _T("https://www.google.com/accounts/ServiceLoginAuth?continue=https%3A%2F%2Fmail.google.com%2Fmail&service=mail&Email=")
+#define FORMDATA1 _T("<body onload=document.gmail.submit();><form name=gmail action=https://www.google.com/a/")
+#define FORMDATA2 _T("/LoginAction method=POST><input type=hidden name=continue value=https://mail.google.com/a/")
+#define FORMDATA3 _T("><INPUT type=hidden value=mail name=service>")
// #define STR1 "javascript:document.write('<form name=gmail action=https://www.google.com/a/"
// #define STR2 "/LoginAction method=post><input type=hidden name=continue value=https://mail.google.com/hosted/"
// #define STR3 "><input type=hidden value=mail name=service><input type=hidden name=userName value="
@@ -40,14 +40,14 @@ //#define LINK2 "https://www.google.com/a/altmanoptik.com/LoginAction?continue=https%3A%2F%2Fmail.google.com%2Fhosted%2Faltmanoptik.com&service=mail&userName=test&password=123456"
typedef struct s_resultLink{
- char content[64];
+ TCHAR content[64];
struct s_resultLink *next;
}resultLink;
typedef struct s_Account{
- char name[64];
- char pass[64];
- char hosted[64];
+ TCHAR name[64];
+ TCHAR pass[64];
+ TCHAR hosted[64];
MCONTACT hContact;
int oldResults_num;
int results_num;
@@ -81,14 +81,14 @@ extern BOOL optionWindowIsOpen; INT_PTR Notifying(WPARAM, LPARAM);
INT_PTR PluginMenuCommand(WPARAM, LPARAM);
void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD);
-BOOL GetBrowser(char *);
+BOOL GetBrowser(TCHAR *);
void CheckMailInbox(Account *);
void NotifyUser(Account *);
int OptInit(WPARAM, LPARAM);
void Check_ThreadFunc(void *);
void Login_ThreadFunc(void *);
int OpenBrowser(WPARAM , LPARAM);
-int ParsePage(char *, resultLink *);
+int ParsePage(TCHAR *, resultLink *);
void DeleteResults(resultLink *);
void BuildList(void);
|