diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-17 22:16:02 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2010-01-17 22:16:02 +0000 |
commit | 9bcf44d21b3a7588a267e98573396dbf2deceb12 (patch) | |
tree | b6b1f7c20d985faa61048b594224bcc6e0e5c722 /Protocols/SIP/commons.h | |
parent | 838f03d71305a62e2372f6999d4aaf096c6a2145 (diff) |
sip: start of client plugins code
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@209 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Protocols/SIP/commons.h')
-rw-r--r-- | Protocols/SIP/commons.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Protocols/SIP/commons.h b/Protocols/SIP/commons.h index 47b4cfd..1fb4108 100644 --- a/Protocols/SIP/commons.h +++ b/Protocols/SIP/commons.h @@ -80,7 +80,46 @@ Boston, MA 02111-1307, USA. #include "../../plugins/voiceservice/m_voiceservice.h"
#include "resource.h"
+#include "strutils.h"
+
+
+struct MessageData
+{
+ HANDLE hContact;
+ LONG messageID;
+ pjsip_status_code status;
+};
+
+struct SIPEvent
+{
+ enum {
+ reg_state,
+ incoming_call,
+ call_state,
+ call_media_state,
+ incoming_subscribe,
+ buddy_state,
+ pager,
+ pager_status,
+ typing
+
+ } type;
+
+ pjsua_call_id call_id;
+ pjsua_call_info call_info;
+ pjsua_buddy_id buddy_id;
+ char *from;
+ char *text;
+ char *mime;
+ bool isTyping;
+ MessageData *messageData;
+ pjsua_srv_pres *srv_pres;
+};
+
+
+#include "m_sip.h"
#include "SIPProto.h"
+#include "SIPClient.h"
#define MODULE_NAME "SIP"
|