Molybden API
Loading...
Searching...
No Matches
js_accessible_field.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_FIELD_HPP
6#define MOLYBDEN_JS_ACCESSIBLE_FIELD_HPP
7
8#include "molybden/js/js_value.hpp"
9
10namespace molybden {
11namespace internal {
12
17class JsAccessibleField {
18 public:
19 virtual ~JsAccessibleField() = default;
20
24 virtual JsValue value() = 0;
25
33 virtual bool setValue(const JsValue& value) = 0;
34};
35
36} // namespace internal
37} // namespace molybden
38
39#include "molybden/js/internal/js_accessible_field_impl.hpp"
40
41#endif // MOLYBDEN_JS_ACCESSIBLE_FIELD_HPP