00001
00002
00003
00004
00005
00006
00007 #pragma once
00008
00009 #include <boost/shared_ptr.hpp>
00010 #include <Swiften/Elements/Whiteboard/WhiteboardElementVisitor.h>
00011
00012 namespace Swift {
00013 class WhiteboardElement {
00014 public:
00015 typedef boost::shared_ptr<WhiteboardElement> ref;
00016
00017 public:
00018 virtual ~WhiteboardElement() {}
00019 virtual void accept(WhiteboardElementVisitor& visitor) = 0;
00020
00021 const std::string& getID() const {
00022 return id_;
00023 }
00024
00025 void setID(const std::string& id) {
00026 id_ = id;
00027 }
00028
00029 private:
00030 std::string id_;
00031 };
00032 }