diff options
author | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-07-20 10:12:26 (GMT) |
---|---|---|
committer | Mateusz Piekos <mateuszpiekos@gmail.com> | 2012-07-20 10:12:26 (GMT) |
commit | edeab9429a996aa5641cfb9c4b3fc1386b49d81f (patch) | |
tree | 08044acd684dcf65d93ac8e81e5ca888454f6649 /Swiften/Whiteboard/Operations | |
parent | e6389d9be9135d5648033abea8bdb75959f64070 (diff) | |
download | swift-contrib-edeab9429a996aa5641cfb9c4b3fc1386b49d81f.zip swift-contrib-edeab9429a996aa5641cfb9c4b3fc1386b49d81f.tar.bz2 |
Removed unnecessary origin field from WhiteboardOperation
Diffstat (limited to 'Swiften/Whiteboard/Operations')
-rw-r--r-- | Swiften/Whiteboard/Operations/WhiteboardOperation.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Swiften/Whiteboard/Operations/WhiteboardOperation.h b/Swiften/Whiteboard/Operations/WhiteboardOperation.h index 73a8b74..02c6438 100644 --- a/Swiften/Whiteboard/Operations/WhiteboardOperation.h +++ b/Swiften/Whiteboard/Operations/WhiteboardOperation.h @@ -14,9 +14,6 @@ namespace Swift { public: typedef boost::shared_ptr<WhiteboardOperation> ref; public: - - enum OperationOrigin { Local, Other }; - virtual ~WhiteboardOperation(){}; std::string getID() const { @@ -43,18 +40,9 @@ namespace Swift { pos_ = pos; } - OperationOrigin getOrigin() const { - return origin_; - } - - void setOrigin(OperationOrigin origin) { - origin_ = origin; - } - private: std::string id_; std::string parentID_; int pos_; - OperationOrigin origin_; }; } |