1
0
forked from 0ad/0ad
0ad/source/tools/atlas/AtlasUI/General/AtlasWindowCommand.h

20 lines
479 B
C
Raw Normal View History

#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;
};