Refactor: separate GUI sources from core sources

This PR splits the GUI source files from the core source files. The immediate goal is to allow the CLI to require only a minimum number of dynamic libraries. The long term goal is to create an architectural boundary around the core module, in preparation of libkdbx.
This commit is contained in:
louib
2022-09-17 21:45:43 -04:00
committed by Jonathan White
parent 854459068f
commit 166a371050
36 changed files with 173 additions and 163 deletions

View File

@@ -168,6 +168,8 @@ public:
QList<Entry*> historyItems();
const QList<Entry*>& historyItems() const;
void addHistoryItem(Entry* entry);
void setHistoryOwner(Entry* entry);
Entry* historyOwner() const;
void removeHistoryItems(const QList<Entry*>& historyEntries);
void truncateHistory();
@@ -294,6 +296,7 @@ private:
QPointer<AutoTypeAssociations> m_autoTypeAssociations;
QPointer<CustomData> m_customData;
QList<Entry*> m_history; // Items sorted from oldest to newest
QPointer<Entry> m_historyOwner;
QScopedPointer<Entry> m_tmpHistoryItem;
bool m_modifiedSinceBegin;