summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piekos <mateuszpiekos@gmail.com>2012-07-16 12:14:05 (GMT)
committerMateusz Piekos <mateuszpiekos@gmail.com>2012-07-16 12:14:05 (GMT)
commitb2e11d7f32db65a6be001dfdf74b74f16f4c9ec3 (patch)
treee99331d9c20e8199fda582e5f1b603d01b368f2a /Swiften/Whiteboard/WhiteboardSession.cpp
parent0ba890e7e8c7e09c1257a7c3b1018f396e6896d1 (diff)
downloadswift-contrib-b2e11d7f32db65a6be001dfdf74b74f16f4c9ec3.zip
swift-contrib-b2e11d7f32db65a6be001dfdf74b74f16f4c9ec3.tar.bz2
Extended classes handling synchronization with update operation
Diffstat (limited to 'Swiften/Whiteboard/WhiteboardSession.cpp')
-rw-r--r--Swiften/Whiteboard/WhiteboardSession.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/Swiften/Whiteboard/WhiteboardSession.cpp b/Swiften/Whiteboard/WhiteboardSession.cpp
index 2828436..492aec5 100644
--- a/Swiften/Whiteboard/WhiteboardSession.cpp
+++ b/Swiften/Whiteboard/WhiteboardSession.cpp
@@ -44,14 +44,9 @@ namespace Swift {
request->send();
}
- void WhiteboardSession::sendOperation(const WhiteboardOperation::ref operation) {
-/* boost::shared_ptr<WhiteboardPayload> payload = boost::make_shared<WhiteboardPayload>();
- // payload->setElement(operation->getElement());
- payload->setOperation(operation);
- boost::shared_ptr<GenericRequest<WhiteboardPayload> > request = boost::make_shared<GenericRequest<WhiteboardPayload> >(IQ::Set, toJID_, payload, router_);
- request->send();*/
+/* void WhiteboardSession::sendOperation(const WhiteboardOperation::ref operation) {
handleSendOperationRequest(operation);
- }
+ }*/
void WhiteboardSession::sendPayload(boost::shared_ptr<WhiteboardPayload> payload) {
boost::shared_ptr<GenericRequest<WhiteboardPayload> > request = boost::make_shared<GenericRequest<WhiteboardPayload> >(IQ::Set, toJID_, payload, router_);