]> Shamusworld >> Repos - architektonas/blobdiff - src/base/undocycle.h
Major refactor of Architektonas: Jettisoning old cruft.
[architektonas] / src / base / undocycle.h
diff --git a/src/base/undocycle.h b/src/base/undocycle.h
deleted file mode 100644 (file)
index 7b4071d..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#ifndef __UNDOLISTITEM_H__
-#define __UNDOLISTITEM_H__
-
-#include <iostream>
-#include <QtCore>
-
-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<Undoable> undoables;
-               QList<Undoable *> undoables;
-               QListIterator<Undoable *> undoableIterator;
-};
-
-#endif