diff --git a/src/js_sync.hpp b/src/js_sync.hpp index 204d6fe6..8d2ac585 100644 --- a/src/js_sync.hpp +++ b/src/js_sync.hpp @@ -147,31 +147,6 @@ void UserClass::logout(ContextType ctx, FunctionType, ObjectType this_object, get_internal>(this_object)->get()->log_out(); } -template -class ProgressNotificationTokenClass : public ClassDefinition { - using GlobalContextType = typename T::GlobalContext; - using ContextType = typename T::Context; - using FunctionType = typename T::Function; - using ObjectType = typename T::Object; - using ValueType = typename T::Value; - using String = js::String; - using Object = js::Object; - using Value = js::Value; - using Function = js::Function; - using ReturnValue = js::ReturnValue; - -public: - std::string const name = "ProgressNotificationToken"; - - static ObjectType create_instance(ContextType, uint64_t); - - static void stop(ContextType, FunctionType, ObjectType, size_t, const ValueType[], ReturnValue &); - - MethodMap const methods = { - {"stop", wrap}, - }; -}; - template class SessionClass : public ClassDefinition { using ContextType = typename T::Context; @@ -554,14 +529,5 @@ void SyncClass::populate_sync_config(ContextType ctx, ObjectType realm_constr } } } - -template -void ProgressNotificationTokenClass::stop(ContextType ctx, FunctionType, ObjectType this_object, size_t argc, const ValueType arguments[], ReturnValue &return_value) { -} - -template -typename T::Object ProgressNotificationTokenClass::create_instance(ContextType ctx, uint64_t progressToken) { - return create_object>(ctx, new uint64_t(progressToken)); -} } // js } // realm