From 35586e08f45e41070186cd32038da1af98adc9d2 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 31 Jul 2014 14:34:46 +0000 Subject: options refactoring (thx slotwin) git-svn-id: http://svn.miranda-ng.org/main/trunk@10003 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewXstatusNotify/src/popup.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'plugins/NewXstatusNotify/src/popup.h') diff --git a/plugins/NewXstatusNotify/src/popup.h b/plugins/NewXstatusNotify/src/popup.h index 784ea05973..f96ab28904 100644 --- a/plugins/NewXstatusNotify/src/popup.h +++ b/plugins/NewXstatusNotify/src/popup.h @@ -37,6 +37,15 @@ #define STRING_SHOWPREVIOUSSTATUS LPGENT("(was %s)") +typedef struct tagPLUGINDATA +{ + WORD newStatus; + WORD oldStatus; + HWND hWnd; + HANDLE hAwayMsgProcess; + HANDLE hAwayMsgHook; +} PLUGINDATA; + static struct { TCHAR *Text; int Action; @@ -49,6 +58,7 @@ static struct { LPGENT("Do nothing"), PCA_DONOTHING }; +void ShowChangePopup(MCONTACT hContact, char *szProto, HICON hIcon, WORD newStatus, TCHAR *stzText, PLUGINDATA *pdp = NULL); LRESULT CALLBACK PopupDlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); #endif \ No newline at end of file -- cgit v1.2.3