summary refs log tree commit diff
path: root/include/Cache.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-08 20:30:09 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-08 20:30:09 +0300
commitebed87ea5730f9a49d6cf6d03a2a3a8ef7e2aa52 (patch)
treeb022e968f92dee9c52e73b07de7fadd304cc5299 /include/Cache.h
parentReplace shared pointers of MatrixClient with a single instance (diff)
downloadnheko-ebed87ea5730f9a49d6cf6d03a2a3a8ef7e2aa52.tar.xz
Don't use shared pointers for cache
Diffstat (limited to 'include/Cache.h')
-rw-r--r--include/Cache.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/Cache.h b/include/Cache.h

index 7ecc5d59..c038b3d9 100644 --- a/include/Cache.h +++ b/include/Cache.h
@@ -435,3 +435,11 @@ private: QString localUserId_; QString cacheDirectory_; }; + +namespace cache { +void +init(const QString &userId, QObject *parent); + +Cache * +client(); +}