+++ /dev/null
-#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