X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Fundocycle.h;fp=src%2Fbase%2Fundocycle.h;h=0000000000000000000000000000000000000000;hb=9f6ad3fe0b9cb30115a5d38e8af3aebed0d70c08;hp=7b4071da647dfd4e91866455a823d8f1e5e5e99e;hpb=43c13b052d069ba435277d93867380d00c04931f;p=architektonas diff --git a/src/base/undocycle.h b/src/base/undocycle.h deleted file mode 100644 index 7b4071d..0000000 --- a/src/base/undocycle.h +++ /dev/null @@ -1,43 +0,0 @@ -#ifndef __UNDOLISTITEM_H__ -#define __UNDOLISTITEM_H__ - -#include -#include - -class Undoable; - -/** - * An Undo Cycle represents an action that was triggered and can - * be undone. It stores all the pointers to the Undoables affected by - * the action. Undoables are entities in a container that can be - * created and deleted. - * - * Undo Cycles are stored within classes derrived from Undo. - * - * @see Undoable - * @see Undo - * - * @author Andrew Mustun - */ -class UndoCycle -{ - friend class Undo; - - public: - UndoCycle(/*RS2::UndoType type*/); - void addUndoable(Undoable * u); - void removeUndoable(Undoable * u); - Undoable * getFirstUndoable(); - Undoable * getNextUndoable(); - friend std::ostream & operator<<(std::ostream & os, UndoCycle & i); - - private: - //! Undo type: - //RS2::UndoType type; - //! List of entity id's that were affected by this action -// Q3PtrList undoables; - QList undoables; - QListIterator undoableIterator; -}; - -#endif