diff options
Diffstat (limited to 'common/store.h')
-rw-r--r-- | common/store.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/common/store.h b/common/store.h index af8e971..aed3be4 100644 --- a/common/store.h +++ b/common/store.h | |||
@@ -43,6 +43,11 @@ namespace Store { | |||
43 | 43 | ||
44 | QString SINK_EXPORT storageLocation(); | 44 | QString SINK_EXPORT storageLocation(); |
45 | 45 | ||
46 | /** | ||
47 | * Returns a unique path for a writable file that can be used to write BLOB properties. | ||
48 | */ | ||
49 | QString SINK_EXPORT getTemporaryFilePath(); | ||
50 | |||
46 | enum Roles | 51 | enum Roles |
47 | { | 52 | { |
48 | DomainObjectRole = Qt::UserRole + 1, // Must be the same as in ModelResult | 53 | DomainObjectRole = Qt::UserRole + 1, // Must be the same as in ModelResult |
@@ -51,8 +56,8 @@ enum Roles | |||
51 | }; | 56 | }; |
52 | 57 | ||
53 | /** | 58 | /** |
54 | * Asynchronusly load a dataset with tree structure information | 59 | * Asynchronusly load a dataset with tree structure information |
55 | */ | 60 | */ |
56 | template <class DomainType> | 61 | template <class DomainType> |
57 | QSharedPointer<QAbstractItemModel> SINK_EXPORT loadModel(Query query); | 62 | QSharedPointer<QAbstractItemModel> SINK_EXPORT loadModel(Query query); |
58 | 63 | ||