Molybden API
Loading...
Searching...
No Matches
js_accessible_method.hpp
1// Copyright (c) 2000-2024 TeamDev. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_JS_ACCESSIBLE_METHOD_HPP
6#define MOLYBDEN_JS_ACCESSIBLE_METHOD_HPP
7
8#include <tuple>
9
10#include "molybden/base/internal/integer_sequence.hpp"
11#include "molybden/js/js_proxy_object.hpp"
12#include "molybden/js/js_value.hpp"
13
14namespace molybden {
15namespace internal {
16
21class JsAccessibleMethod {
22 public:
23 virtual ~JsAccessibleMethod() = default;
24
35 virtual JsReturnValue call(const std::vector<JsValue>& values) = 0;
36};
37
38} // namespace internal
39} // namespace molybden
40
41#include "molybden/js/internal/js_accessible_method_impl.hpp"
42
43#endif // MOLYBDEN_JS_ACCESSIBLE_METHOD_HPP