diff options
Diffstat (limited to 'Swiften/Elements')
-rw-r--r-- | Swiften/Elements/WhiteboardPayload.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Swiften/Elements/WhiteboardPayload.h b/Swiften/Elements/WhiteboardPayload.h index c61e4a5..cf22f20 100644 --- a/Swiften/Elements/WhiteboardPayload.h +++ b/Swiften/Elements/WhiteboardPayload.h @@ -10,6 +10,7 @@ #include <Swiften/Elements/Payload.h> #include <Swiften/Whiteboard/Elements/WhiteboardElement.h> +#include <Swiften/Whiteboard/Operations/WhiteboardOperation.h> namespace Swift { class WhiteboardPayload : public Payload { @@ -46,9 +47,18 @@ namespace Swift { element_ = element; } + WhiteboardOperation::ref getOperation() const { + return operation_; + } + + void setOperation(WhiteboardOperation::ref operation) { + operation_ = operation; + } + private: std::string data_; Type type_; WhiteboardElement::ref element_; + WhiteboardOperation::ref operation_; }; } |