summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-06-12 17:49:53 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-06-12 17:49:53 +0000
commit7de38a08b97e0554e318b8c25806cef5d47259e6 (patch)
tree2400708e16b437245da88623046e96fb833e23b9 /include
parent1b88f240b94fc04aa11ef352b720fda741c0ebc6 (diff)
headers of not adopted plugins moved to !Deprecated
git-svn-id: http://svn.miranda-ng.org/main/trunk@9438 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r--include/m_icq.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/m_icq.h b/include/m_icq.h
index 3afb3b7b42..a3b5855619 100644
--- a/include/m_icq.h
+++ b/include/m_icq.h
@@ -186,4 +186,24 @@ typedef struct {
// -1 delayed (rate control) - sequence unknown
#define PS_ICQ_REQUESTCUSTOMSTATUS "/RequestXStatusDetails"
+#define MAX_CAPNAME 64
+typedef struct
+{
+ int cbSize;
+ char caps[0x10];
+ HANDLE hIcon;
+ char name[MAX_CAPNAME];
+} ICQ_CUSTOMCAP;
+
+// Add a custom icq capability.
+// wParam = 0;
+// lParam = (LPARAM)(ICQ_CUSTOMCAP *)&icqCustomCap;
+#define PS_ICQ_ADDCAPABILITY "/IcqAddCapability"
+
+// Check if capability is supportes. Only icqCustomCap.caps does matter.
+// wParam = (WPARAM)(HANDLE)hContact;
+// lParam = (LPARAM)(ICQ_CUSTOMCAP *)&icqCustomCap;
+// returns non-zero if capability is supported
+#define PS_ICQ_CHECKCAPABILITY "/IcqCheckCapability"
+
#endif // M_ICQ_H__