1 /*! 2 @file 3 @author Albert Semenov 4 @date 07/2012 5 */ 6 #ifndef _d92392a8_2d98_4639_8dfe_7cb945c817b5_ 7 #define _d92392a8_2d98_4639_8dfe_7cb945c817b5_ 8 9 #include "Action.h" 10 #include "Data.h" 11 12 namespace tools 13 { 14 class ActionDestroyData : 15 public Action 16 { 17 public: 18 ActionDestroyData(); 19 virtual ~ActionDestroyData(); 20 21 virtual void doAction(); 22 virtual void undoAction(); 23 24 void setData(Data* _data); 25 26 private: 27 Data* mData; 28 bool mComplete; 29 }; 30 } 31 32 #endif 33