Remove dead code

This commit is contained in:
blagoev 2017-09-01 18:18:01 +03:00
parent e1cebe073a
commit 3a8f56cdc0
1 changed files with 0 additions and 34 deletions

View File

@ -147,31 +147,6 @@ void UserClass<T>::logout(ContextType ctx, FunctionType, ObjectType this_object,
get_internal<T, UserClass<T>>(this_object)->get()->log_out(); get_internal<T, UserClass<T>>(this_object)->get()->log_out();
} }
template<typename T>
class ProgressNotificationTokenClass : public ClassDefinition<T, uint64_t> {
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<T>;
using Object = js::Object<T>;
using Value = js::Value<T>;
using Function = js::Function<T>;
using ReturnValue = js::ReturnValue<T>;
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<T> const methods = {
{"stop", wrap<stop>},
};
};
template<typename T> template<typename T>
class SessionClass : public ClassDefinition<T, WeakSession> { class SessionClass : public ClassDefinition<T, WeakSession> {
using ContextType = typename T::Context; using ContextType = typename T::Context;
@ -554,14 +529,5 @@ void SyncClass<T>::populate_sync_config(ContextType ctx, ObjectType realm_constr
} }
} }
} }
template<typename T>
void ProgressNotificationTokenClass<T>::stop(ContextType ctx, FunctionType, ObjectType this_object, size_t argc, const ValueType arguments[], ReturnValue &return_value) {
}
template<typename T>
typename T::Object ProgressNotificationTokenClass<T>::create_instance(ContextType ctx, uint64_t progressToken) {
return create_object<T, ProgressNotificationTokenClass<T>>(ctx, new uint64_t(progressToken));
}
} // js } // js
} // realm } // realm