kDB: Knowledge DataBase
Loading...
Searching...
No Matches
AbstractMergeStrategy.h
1#ifndef _KDB_REPOSITORY_VERSION_CONTROL_ABSTRACT_MERGE_STRATEGY_H_
2#define _KDB_REPOSITORY_VERSION_CONTROL_ABSTRACT_MERGE_STRATEGY_H_
3
4#include <QList>
5
6class QUuid;
7
8#include <kDB/Forward.h>
9
10namespace Cyqlops::Crypto
11{
12 class RSAAlgorithm;
13}
14
15namespace kDB::Repository::VersionControl
16{
23 {
24 protected:
25 struct Private;
27 public:
29 void addRevisions(const QList<Revision>& _revisions);
30 bool merge();
36 bool hasChanges(qsizetype _index) const;
37 QByteArray diff(qsizetype _index) const;
38 QByteArray parentHash(qsizetype _index) const;
39 bool allHaveChanges() const;
40 protected:
41 Private* const d;
42 };
43}
44
45#endif
Definition Revision.h:9
Definition AbstractMergeStrategy.h:23