#ifndef CSELECTNODECOMMAND_H #define CSELECTNODECOMMAND_H #include #include "../INodeEditor.h" #include class CSelectNodeCommand : public QUndoCommand { INodeEditor *mpEditor; CSceneNode *mpNode; QList *mpSelection; public: CSelectNodeCommand(INodeEditor *pEditor, CSceneNode *pNode, QList& selection); void undo(); void redo(); }; #endif // CSELECTNODECOMMAND_H