summaryrefslogtreecommitdiff
path: root/protocols/MRA/MraPopUp.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-05-15 10:38:20 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-05-15 10:38:20 +0000
commit48540940b6c28bb4378abfeb500ec45a625b37b6 (patch)
tree2ef294c0763e802f91d868bdef4229b6868527de /protocols/MRA/MraPopUp.h
parent5c350913f011e119127baeb32a6aedeb4f0d33bc (diff)
initial commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@2 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/MraPopUp.h')
-rw-r--r--protocols/MRA/MraPopUp.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/protocols/MRA/MraPopUp.h b/protocols/MRA/MraPopUp.h
new file mode 100644
index 0000000000..5b768cdc1a
--- /dev/null
+++ b/protocols/MRA/MraPopUp.h
@@ -0,0 +1,34 @@
+#if !defined(AFX_MRA_POPUP_H__F58D13FF_F6F2_476C_B8F0_7B9E9357CF48__INCLUDED_)
+#define AFX_MRA_POPUP_H__F58D13FF_F6F2_476C_B8F0_7B9E9357CF48__INCLUDED_
+
+
+#if _MSC_VER > 1000
+#pragma once
+#endif // _MSC_VER > 1000
+
+
+
+#define MRA_POPUP_ALLOW_MSGBOX 1
+#define MRA_POPUP_ALLOW_ENTER 2
+
+#define MRA_POPUP_TYPE_NONE 0 // proto icon
+#define MRA_POPUP_TYPE_DEBUG 1 // IDI_APPLICATION
+#define MRA_POPUP_TYPE_INFORMATION 2 // IDI_INFORMATION
+#define MRA_POPUP_TYPE_QUESTION 3 // IDI_QUESTION
+#define MRA_POPUP_TYPE_WARNING 4 // IDI_WARNING
+#define MRA_POPUP_TYPE_ERROR 5 // IDI_ERROR
+#define MRA_POPUP_TYPE_EMAIL_STATUS 6 //
+
+
+int MraPopupOptInit (WPARAM wParam,LPARAM lParam);
+
+void MraPopupShowFromContactW (HANDLE hContact,DWORD dwType,DWORD dwFlags,LPWSTR lpszMessage);
+#define MraPopupShowFromAgentW(dwType,dwFlags,lpszMessage) MraPopupShowFromContactW(NULL,dwType,dwFlags,lpszMessage)
+
+void MraPopupShowW (HANDLE hContact,DWORD dwType,DWORD dwFlags,LPWSTR lpszTitle,LPWSTR lpszMessage);
+
+
+
+
+
+#endif // !defined(AFX_MRA_POPUP_H__F58D13FF_F6F2_476C_B8F0_7B9E9357CF48__INCLUDED_)