diff options
Diffstat (limited to 'Firestore/Source/Core/FSTView.h')
-rw-r--r-- | Firestore/Source/Core/FSTView.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Firestore/Source/Core/FSTView.h b/Firestore/Source/Core/FSTView.h index 6ff77cd..38f57fc 100644 --- a/Firestore/Source/Core/FSTView.h +++ b/Firestore/Source/Core/FSTView.h @@ -20,7 +20,8 @@ #import "Firestore/Source/Model/FSTDocumentDictionary.h" #import "Firestore/Source/Model/FSTDocumentKeySet.h" -@class FSTDocumentKey; +#include "Firestore/core/src/firebase/firestore/model/document_key.h" + @class FSTDocumentSet; @class FSTDocumentViewChangeSet; @class FSTMaybeDocument; @@ -63,12 +64,14 @@ typedef NS_ENUM(NSInteger, FSTLimboDocumentChangeType) { // A change to a particular document wrt to whether it is in "limbo". @interface FSTLimboDocumentChange : NSObject -+ (instancetype)changeWithType:(FSTLimboDocumentChangeType)type key:(FSTDocumentKey *)key; ++ (instancetype)changeWithType:(FSTLimboDocumentChangeType)type + key:(firebase::firestore::model::DocumentKey)key; - (id)init __attribute__((unavailable("Use a static constructor method."))); +- (const firebase::firestore::model::DocumentKey &)key; + @property(nonatomic, assign, readonly) FSTLimboDocumentChangeType type; -@property(nonatomic, strong, readonly) FSTDocumentKey *key; @end #pragma mark - FSTViewChange |