diff options
author | Aaron Seigo <aseigo@kde.org> | 2015-01-27 18:44:03 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2015-01-27 18:45:54 +0100 |
commit | 142bf3d8bc6569a432e065e851f026a46e9595ed (patch) | |
tree | 631d40828e2dcc63e0a12e5b9de1e8c0e3ebddf0 /common/storage.h | |
parent | 7137cb09a1f7a4d36e9865d9c9e1f54d59ddbc68 (diff) | |
download | sink-142bf3d8bc6569a432e065e851f026a46e9595ed.tar.gz sink-142bf3d8bc6569a432e065e851f026a46e9595ed.zip |
introduce a set of isInternalKey functions to hide this impl detail
Diffstat (limited to 'common/storage.h')
-rw-r--r-- | common/storage.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/storage.h b/common/storage.h index 758765e..d8378e2 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -79,6 +79,11 @@ public: | |||
79 | void setMaxRevision(qint64 revision); | 79 | void setMaxRevision(qint64 revision); |
80 | 80 | ||
81 | bool exists() const; | 81 | bool exists() const; |
82 | |||
83 | static bool isInternalKey(const char *key); | ||
84 | static bool isInternalKey(void *key, int keySize); | ||
85 | static bool isInternalKey(const QByteArray &key); | ||
86 | |||
82 | private: | 87 | private: |
83 | class Private; | 88 | class Private; |
84 | Private * const d; | 89 | Private * const d; |