mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-06 22:39:53 +08:00
24 lines
430 B
C++
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
|