summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/src/popup.h
diff options
context:
space:
mode:
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