12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #import "RLMUser_Private.h"
- #import "RLMSyncConfiguration.h"
- #import "RLMSyncUtil_Private.h"
- #import <realm/object-store/sync/sync_user.hpp>
- #import <realm/sync/config.hpp>
- @class RLMSyncConfiguration, RLMSyncSessionRefreshHandle, RLMApp;
- NS_ASSUME_NONNULL_BEGIN
- class CocoaSyncUserContext : public realm::SyncUserContext {
- public:
- private:
-
- std::unordered_map<std::string, RLMSyncSessionRefreshHandle *> m_refresh_handles;
- std::mutex m_mutex;
- };
- @interface RLMUser ()
- - (instancetype)initWithUser:(std::shared_ptr<realm::SyncUser>)user app:(RLMApp *)app;
- - (std::string)pathForPartitionValue:(std::string const&)partitionValue;
- - (std::shared_ptr<realm::SyncUser>)_syncUser;
- + (void)_setUpBindingContextFactory;
- @property (weak, readonly) RLMApp *app;
- @end
- NS_ASSUME_NONNULL_END
|