diff options
Diffstat (limited to 'Swiften/Whiteboard/Operations')
-rw-r--r-- | Swiften/Whiteboard/Operations/WhiteboardUpdateOperation.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Swiften/Whiteboard/Operations/WhiteboardUpdateOperation.h b/Swiften/Whiteboard/Operations/WhiteboardUpdateOperation.h index 7c4b088..1b79043 100644 --- a/Swiften/Whiteboard/Operations/WhiteboardUpdateOperation.h +++ b/Swiften/Whiteboard/Operations/WhiteboardUpdateOperation.h @@ -26,7 +26,16 @@ namespace Swift { element_ = element; } + int getNewPos() const { + return newPos_; + } + + void setNewPos(int newPos) { + newPos_ = newPos; + } + private: WhiteboardElement::ref element_; + int newPos_; }; } |