#ifndef UNDO_MANAGER_H #define UNDO_MANAGER_H #include "HashTable.h" #include "BinarySearchTree.h" #include "Stack.h" #include "CPU.h" template class UndoManager { private: HashTable* hashTable; BinarySearchTree* bst; Stack* undoStack; public: UndoManager(HashTable* ht, BinarySearchTree* bst); ~UndoManager(); void addToUndoStack(const CPU& cpu); void undoDelete(); void clearUndoStack(); }; #endif