summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piekos <mateuszpiekos@gmail.com>2012-07-13 18:18:37 (GMT)
committerMateusz Piekos <mateuszpiekos@gmail.com>2012-07-13 18:18:37 (GMT)
commit0ba890e7e8c7e09c1257a7c3b1018f396e6896d1 (patch)
tree13dc4658023e89d48d4e7ae1854f70e827bf9cf6 /Swiften/Whiteboard/IncomingWhiteboardSession.h
parent4dc0788b78da3fe5a9daed5ab4593ba6423600ec (diff)
downloadswift-contrib-0ba890e7e8c7e09c1257a7c3b1018f396e6896d1.zip
swift-contrib-0ba890e7e8c7e09c1257a7c3b1018f396e6896d1.tar.bz2
Integrated WhiteboardClient and WhiteboardServer into rest of the code
Diffstat (limited to 'Swiften/Whiteboard/IncomingWhiteboardSession.h')
-rw-r--r--Swiften/Whiteboard/IncomingWhiteboardSession.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Swiften/Whiteboard/IncomingWhiteboardSession.h b/Swiften/Whiteboard/IncomingWhiteboardSession.h
index 9971d75..33c1a78 100644
--- a/Swiften/Whiteboard/IncomingWhiteboardSession.h
+++ b/Swiften/Whiteboard/IncomingWhiteboardSession.h
@@ -7,7 +7,7 @@
#pragma once
#include <Swiften/Whiteboard/WhiteboardSession.h>
-
+#include <Swiften/Whiteboard/WhiteboardServer.h>
#include <boost/shared_ptr.hpp>
namespace Swift {
@@ -21,5 +21,11 @@ namespace Swift {
void accept();
std::string getClientID() const;
+
+ private:
+ void handleIncomingOperation(WhiteboardOperation::ref operation);
+ void handleSendOperationRequest(WhiteboardOperation::ref operation);
+
+ WhiteboardServer server;
};
}