mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user