26 lines
453 B
C++
26 lines
453 B
C++
#ifndef PART1_UTILS_H
|
|
#define PART1_UTILS_H
|
|
#include "TDoublyLinkedList.h"
|
|
#include "TStack.h"
|
|
|
|
|
|
class Utils {
|
|
public:
|
|
static int Choice();
|
|
static int Insert(TDoublyLinkedList &document, TStack &undoStack, TStack &redoStack, int index);
|
|
static void PrintList(const TDoublyLinkedList &document);
|
|
static int RemoveLine(TDoublyLinkedList &document, TStack &undoStack, TStack &redoStack, int index);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
#endif //PART1_UTILS_H
|