From 2298422a2adacff4bf5bcb8c7688c4e8eab254d0 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 24 Jul 2015 07:36:39 +0000 Subject: GmailNotifier: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14663 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/GmailNotifier/src/gmail.h | 94 --------------------------------------- 1 file changed, 94 deletions(-) delete mode 100644 plugins/GmailNotifier/src/gmail.h (limited to 'plugins/GmailNotifier/src/gmail.h') diff --git a/plugins/GmailNotifier/src/gmail.h b/plugins/GmailNotifier/src/gmail.h deleted file mode 100644 index d6293e4436..0000000000 --- a/plugins/GmailNotifier/src/gmail.h +++ /dev/null @@ -1,94 +0,0 @@ -#define _CRT_SECURE_NO_WARNINGS - -#include -#include -#include -#include -#include "resource.h" - -#include "newpluginapi.h" -#include "m_clist.h" -#include "m_clui.h" -#include "m_skin.h" -#include "m_langpack.h" -#include "m_database.h" -#include "m_system.h" -#include "m_protocols.h" -#include "m_userinfo.h" -#include "m_options.h" -#include "m_protosvc.h" -#include "m_utils.h" -#include "m_ignore.h" -#include "m_clc.h" -#include "m_popup.h" -#include "m_netlib.h" - -#define WM_SHELLNOTIFY WM_USER+5 -#define IDI_TRAY WM_USER+6 -#define MODULE_NAME "GmailMNotifier" -#define _MAX_DOWN_BUFFER 65536 -#define LINK "https://accounts.google.com/ServiceLogin?continue=https%3A%2F%2Fmail.google.com%2Fmail&service=mail&passive=true&Email=" -#define FORMDATA1 "
" -// #define STR1 "javascript:document.write('');document.gmail.submit();" -//#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]; - struct s_resultLink *next; -}resultLink; - -typedef struct s_Account{ - char name[64]; - char pass[64]; - char hosted[64]; - MCONTACT hContact; - int oldResults_num; - int results_num; - resultLink results; - HWND popUpHwnd; - BOOL IsChecking; -}Account; - -typedef struct s_optionSettings{ - int circleTime; - BOOL notifierOnTray; - BOOL notifierOnPop; - int popupDuration; - COLORREF popupTxtColor; - COLORREF popupBgColor; - int OpenUsePrg; - BOOL ShowCustomIcon; - BOOL UseOnline; - int AutoLogin; - BOOL LogThreads; -}optionSettings; - -extern int acc_num; -extern Account *acc; -extern optionSettings opt; -extern HINSTANCE hInst; -extern UINT hTimer; -extern short ID_STATUS_NONEW; -extern BOOL optionWindowIsOpen; - -INT_PTR Notifying(WPARAM, LPARAM); -INT_PTR PluginMenuCommand(WPARAM, LPARAM); -void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD); -BOOL GetBrowser(char *); -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 *); -void DeleteResults(resultLink *); -void BuildList(void); - -Account* GetAccountByContact(MCONTACT hContact); \ No newline at end of file -- cgit v1.2.3