// Copyright (c) 2022 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // --------------------------------------------------------------------------- // // This file was generated by the CEF translator tool. If making changes by // hand only do so within the body of existing method and function // implementations. See the translator.README.txt file in the tools directory // for more information. // // $hash=ad04d2893bd8949c1384a4dcd68c9acb0f2b967d$ // #ifndef CEF_LIBCEF_DLL_CTOCPP_DICTIONARY_VALUE_CTOCPP_H_ #define CEF_LIBCEF_DLL_CTOCPP_DICTIONARY_VALUE_CTOCPP_H_ #pragma once #if !defined(WRAPPING_CEF_SHARED) #error This file can be included wrapper-side only #endif #include "include/capi/cef_values_capi.h" #include "include/cef_values.h" #include "libcef_dll/ctocpp/ctocpp_ref_counted.h" // Wrap a C structure with a C++ class. // This class may be instantiated and accessed wrapper-side only. class CefDictionaryValueCToCpp : public CefCToCppRefCounted { public: CefDictionaryValueCToCpp(); virtual ~CefDictionaryValueCToCpp(); // CefDictionaryValue methods. bool IsValid() override; bool IsOwned() override; bool IsReadOnly() override; bool IsSame(CefRefPtr that) override; bool IsEqual(CefRefPtr that) override; CefRefPtr Copy(bool exclude_empty_children) override; size_t GetSize() override; bool Clear() override; bool HasKey(const CefString& key) override; bool GetKeys(KeyList& keys) override; bool Remove(const CefString& key) override; CefValueType GetType(const CefString& key) override; CefRefPtr GetValue(const CefString& key) override; bool GetBool(const CefString& key) override; int GetInt(const CefString& key) override; double GetDouble(const CefString& key) override; CefString GetString(const CefString& key) override; CefRefPtr GetBinary(const CefString& key) override; CefRefPtr GetDictionary(const CefString& key) override; CefRefPtr GetList(const CefString& key) override; bool SetValue(const CefString& key, CefRefPtr value) override; bool SetNull(const CefString& key) override; bool SetBool(const CefString& key, bool value) override; bool SetInt(const CefString& key, int value) override; bool SetDouble(const CefString& key, double value) override; bool SetString(const CefString& key, const CefString& value) override; bool SetBinary(const CefString& key, CefRefPtr value) override; bool SetDictionary(const CefString& key, CefRefPtr value) override; bool SetList(const CefString& key, CefRefPtr value) override; }; #endif // CEF_LIBCEF_DLL_CTOCPP_DICTIONARY_VALUE_CTOCPP_H_