• Main Page
  • Classes
  • Files
  • File List

Swiften/Elements/Whiteboard/WhiteboardInsertOperation.h

00001 /*
00002  * Copyright (c) 2012 Mateusz Piękos
00003  * Licensed under the simplified BSD license.
00004  * See Documentation/Licenses/BSD-simplified.txt for more information.
00005  */
00006 
00007 #pragma once
00008 
00009 #include <Swiften/Elements/Whiteboard/WhiteboardOperation.h>
00010 
00011 #include <Swiften/Elements/Whiteboard/WhiteboardElement.h>
00012 
00013 namespace Swift {
00014   class WhiteboardInsertOperation : public WhiteboardOperation {
00015   public:
00016     typedef boost::shared_ptr<WhiteboardInsertOperation> ref;
00017   public:
00018     ~WhiteboardInsertOperation() {
00019     }
00020 
00021     WhiteboardElement::ref getElement() const {
00022       return element_;
00023     }
00024 
00025     void setElement(WhiteboardElement::ref element) {
00026       element_ = element;
00027     }
00028 
00029   private:
00030     WhiteboardElement::ref element_;
00031   };
00032 }

Generated on Fri Oct 12 2012 21:00:19 for Swiften by  doxygen 1.7.1