Code

Added skeleton files for other filter primitives' SP-objects. Added blur slider on...
[inkscape.git] / src / jabber_whiteboard / inkboard-document.h
index 6e04fddac9ac8fe44b9a733b8069c5bc80e8dcfb..71de75e19c05b24dcd9bb4b1224a964e19bdcfd4 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "xml/document.h"
 #include "xml/simple-node.h"
-
+#include "jabber_whiteboard/defines.h"
 #include "jabber_whiteboard/keynode.h"
 #include "jabber_whiteboard/session-manager.h"
 
@@ -24,6 +24,7 @@ namespace Inkscape {
 
 namespace Whiteboard {
 
+
 class InkboardDocument : public XML::SimpleNode, public XML::Document {
 public:
        
@@ -37,9 +38,12 @@ public:
     void setRecipient(Glib::ustring const& val);
     Glib::ustring getRecipient() const;
 
+    void setSessionIdent(Glib::ustring const& val);
+    Glib::ustring getSessionIdent() const;
+
     void startSessionNegotiation();
     void terminateSession();
-    void processInkboardEvent(Message::Wrapper mtype, unsigned int seqnum, Glib::ustring const& data);
+    void processInkboardEvent(Message::Wrapper mtype, Glib::ustring const& data);
 
     bool sendProtocol(const Glib::ustring &destJid, Message::Wrapper mwrapper, 
         Message::Message message);
@@ -66,8 +70,10 @@ private:
 
     void _initBindings();
 
-    SessionManager *sm;
+    SessionManager *_sm;
     State::SessionType _type;
+
+    Glib::ustring _session;
     Glib::ustring _recipient;
 
     KeyNodeTable _tracker;