vnote/src/core/notebook/historyi.h
2021-10-15 15:26:37 +08:00

24 lines
430 B
C++

#ifndef HISTORYI_H
#define HISTORYI_H
#include <QVector>
#include <core/historyitem.h>
namespace vnotex
{
// History interface for notebook.
class HistoryI
{
public:
virtual ~HistoryI() = default;
virtual const QVector<HistoryItem> &getHistory() const = 0;
virtual void addHistory(const HistoryItem &p_item) = 0;
virtual void clearHistory() = 0;
};
}
#endif // HISTORYI_H