index b07b64906401e090867e77d26c09c1ad3e6605b8..49909a39b4f9925716e2aa3ee39de390a509bd57 100644 (file)
#ifndef __INKSCAPE_WHITEBOARD_SESSION_MANAGER_H__
#define __INKSCAPE_WHITEBOARD_SESSION_MANAGER_H__
-#include "jabber_whiteboard/pedrogui.h"
-
#include <glibmm.h>
#include <list>
#include <bitset>
+#include "jabber_whiteboard/pedrogui.h"
#include "jabber_whiteboard/message-queue.h"
#include "jabber_whiteboard/defines.h"
-#include "jabber_whiteboard/internal-constants.h"
#include "jabber_whiteboard/inkboard-session.h"
#include "gc-alloc.h"
*
*/
SessionManager();
-
+
/**
*
*/
virtual ~SessionManager();
-
-
+
+
static void showClient();
static SessionManager& instance();
-
+
/**
*
*/
*
*/
virtual bool send(const Glib::ustring &destJid,
- const MessageType type,
+ const Message::Wrapper type,
const Glib::ustring &data);
- /**
- *
- */
- virtual bool sendProtocol(const Glib::ustring &destJid,
- const MessageType type);
/**
*
*/
virtual bool sendGroup(const Glib::ustring &destJid,
- const MessageType type,
+ const Message::Wrapper type,
const Glib::ustring &data);
/**
*
// methods
void _processInkboardEvent(Pedro::XmppEvent const& event);
- void _handleSessionEvent(MessageType mtype, Pedro::XmppEvent const& event);
+ void _handleSessionEvent(Message::Wrapper mtype, Pedro::XmppEvent const& event);
void _handleIncomingInvitation(Glib::ustring const& from);
void _handleInvitationResponse(Glib::ustring const& from, InvitationResponses resp);