aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/Local/FSTMemoryQueryCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/Source/Local/FSTMemoryQueryCache.h')
-rw-r--r--Firestore/Source/Local/FSTMemoryQueryCache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Firestore/Source/Local/FSTMemoryQueryCache.h b/Firestore/Source/Local/FSTMemoryQueryCache.h
index 98f0277..126ce59 100644
--- a/Firestore/Source/Local/FSTMemoryQueryCache.h
+++ b/Firestore/Source/Local/FSTMemoryQueryCache.h
@@ -20,11 +20,18 @@
NS_ASSUME_NONNULL_BEGIN
+@class FSTMemoryPersistence;
+
/**
* An implementation of the FSTQueryCache protocol that merely keeps queries in memory, suitable
* for online only clients with persistence disabled.
*/
@interface FSTMemoryQueryCache : NSObject <FSTQueryCache>
+
+- (instancetype)initWithPersistence:(FSTMemoryPersistence *)persistence NS_DESIGNATED_INITIALIZER;
+
+- (instancetype)init NS_UNAVAILABLE;
+
@end
NS_ASSUME_NONNULL_END