summaryrefslogtreecommitdiff
path: root/include/m_icq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_icq.h')
-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__