1
0
forked from 0ad/0ad
0ad/source/tools/atlas/AtlasUI/General/AtlasWindowCommand.h
Ykkrosh d0146135c4 Initial Actor Editor code
This was SVN commit r2025.
2005-03-19 22:29:32 +00:00

20 lines
479 B
C++

#include "wx/cmdproc.h"
class AtlasWindowCommand : public wxCommand
{
DECLARE_ABSTRACT_CLASS(AtlasWindowCommand);
friend class AtlasWindowCommandProc;
public:
AtlasWindowCommand(bool canUndoIt, const wxString& name)
: wxCommand(canUndoIt, name), m_Finalized(false) {}
private:
// Control merging of this command with a future one (so they
// can be undone in a single step)
virtual bool Merge(AtlasWindowCommand* command)=0;
bool m_Finalized;
};