1 /*! 2 @file 3 @author Albert Semenov 4 @date 07/2012 5 */ 6 7 #ifndef _d2ea5365_b568_42c0_9028_0ac6e208494f_ 8 #define _d2ea5365_b568_42c0_9028_0ac6e208494f_ 9 10 #include "Action.h" 11 #include "Property.h" 12 #include "Data.h" 13 14 namespace tools 15 { 16 17 class MYGUI_EXPORT_DLL ActionChangeDataProperty : 18 public Action 19 { 20 public: 21 ActionChangeDataProperty(); 22 23 void setProperty(PropertyPtr _value); 24 PropertyPtr getProperty(); 25 26 void setValue(const std::string& _value); 27 const std::string& getValue() const; 28 29 private: 30 PropertyPtr mProperty; 31 std::string mValue; 32 }; 33 34 } 35 36 #endif 37