aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/Source/API/FIRDocumentSnapshot+Internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/Source/API/FIRDocumentSnapshot+Internal.h')
-rw-r--r--Firestore/Source/API/FIRDocumentSnapshot+Internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Firestore/Source/API/FIRDocumentSnapshot+Internal.h b/Firestore/Source/API/FIRDocumentSnapshot+Internal.h
index f2776f0..f4cef9a 100644
--- a/Firestore/Source/API/FIRDocumentSnapshot+Internal.h
+++ b/Firestore/Source/API/FIRDocumentSnapshot+Internal.h
@@ -16,9 +16,10 @@
#import "FIRDocumentSnapshot.h"
+#include "Firestore/core/src/firebase/firestore/model/document_key.h"
+
@class FIRFirestore;
@class FSTDocument;
-@class FSTDocumentKey;
NS_ASSUME_NONNULL_BEGIN
@@ -26,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN
@interface FIRDocumentSnapshot (Internal)
+ (instancetype)snapshotWithFirestore:(FIRFirestore *)firestore
- documentKey:(FSTDocumentKey *)documentKey
+ documentKey:(firebase::firestore::model::DocumentKey)documentKey
document:(nullable FSTDocument *)document
fromCache:(BOOL)fromCache;