summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/src/popup.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-07-31 14:34:46 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-07-31 14:34:46 +0000
commit35586e08f45e41070186cd32038da1af98adc9d2 (patch)
tree48be4432293f835f91a77d00c42f890ce866a215 /plugins/NewXstatusNotify/src/popup.h
parent3bdff57b5868e9d333f61297021f7943ed160500 (diff)
options refactoring (thx slotwin)
git-svn-id: http://svn.miranda-ng.org/main/trunk@10003 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify/src/popup.h')
-rw-r--r--plugins/NewXstatusNotify/src/popup.h10
1 files changed, 10 insertions, 0 deletions
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