// Copyright (c) 2026 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=642f025156ab8050d2367212efe1a55143594b63$ // #ifndef CEF_LIBCEF_DLL_CTOCPP_TEST_API_VERSION_TEST_CTOCPP_H_ #define CEF_LIBCEF_DLL_CTOCPP_TEST_API_VERSION_TEST_CTOCPP_H_ #pragma once #if !defined(WRAPPING_CEF_SHARED) #error This file can be included wrapper-side only #endif #include "include/capi/test/cef_api_version_test_capi.h" #include "include/test/cef_api_version_test.h" #include "libcef_dll/ctocpp/ctocpp_ref_counted.h" #include // Wrap a C structure with a C++ class. // This class may be instantiated and accessed wrapper-side only. class CefApiVersionTestCToCpp : public CefCToCppRefCounted { public: CefApiVersionTestCToCpp(); virtual ~CefApiVersionTestCToCpp(); // CefApiVersionTest methods. CefRefPtr GetRefPtrLibrary(int val) override; int SetRefPtrLibrary(CefRefPtr val) override; CefRefPtr SetRefPtrLibraryAndReturn( CefRefPtr val) override; int SetChildRefPtrLibrary( CefRefPtr val) override; CefRefPtr SetChildRefPtrLibraryAndReturnParent( CefRefPtr val) override; bool SetRefPtrLibraryList( const std::vector> &val, int val1, int val2) override; bool GetRefPtrLibraryListByRef(RefPtrLibraryList &val, int val1, int val2) override; size_t GetRefPtrLibraryListSize() override; int SetRefPtrClient(CefRefPtr val) override; CefRefPtr SetRefPtrClientAndReturn( CefRefPtr val) override; #if CEF_API_REMOVED(13302) int SetChildRefPtrClient( CefRefPtr val) override; #endif #if CEF_API_REMOVED(13302) CefRefPtr SetChildRefPtrClientAndReturnParent( CefRefPtr val) override; #endif #if CEF_API_ADDED(13302) int SetChildRefPtrClient( CefRefPtr val) override; #endif #if CEF_API_ADDED(13302) CefRefPtr SetChildRefPtrClientAndReturnParent( CefRefPtr val) override; #endif bool SetRefPtrClientList( const std::vector> &val, int val1, int val2) override; bool GetRefPtrClientListByRef( RefPtrClientList &val, CefRefPtr val1, CefRefPtr val2) override; size_t GetRefPtrClientListSize() override; CefOwnPtr GetOwnPtrLibrary(int val) override; int SetOwnPtrLibrary(CefOwnPtr val) override; CefOwnPtr SetOwnPtrLibraryAndReturn( CefOwnPtr val) override; int SetChildOwnPtrLibrary( CefOwnPtr val) override; CefOwnPtr SetChildOwnPtrLibraryAndReturnParent( CefOwnPtr val) override; int SetOwnPtrClient(CefOwnPtr val) override; CefOwnPtr SetOwnPtrClientAndReturn( CefOwnPtr val) override; #if CEF_API_REMOVED(13302) int SetChildOwnPtrClient( CefOwnPtr val) override; #endif #if CEF_API_REMOVED(13302) CefOwnPtr SetChildOwnPtrClientAndReturnParent( CefOwnPtr val) override; #endif #if CEF_API_ADDED(13302) int SetChildOwnPtrClient( CefOwnPtr val) override; #endif #if CEF_API_ADDED(13302) CefOwnPtr SetChildOwnPtrClientAndReturnParent( CefOwnPtr val) override; #endif int SetRawPtrLibrary(CefRawPtr val) override; int SetChildRawPtrLibrary( CefRawPtr val) override; bool SetRawPtrLibraryList( const std::vector> &val, int val1, int val2) override; int SetRawPtrClient(CefRawPtr val) override; #if CEF_API_REMOVED(13302) int SetChildRawPtrClient( CefRawPtr val) override; #endif #if CEF_API_ADDED(13302) int SetChildRawPtrClient( CefRawPtr val) override; #endif bool SetRawPtrClientList( const std::vector> &val, int val1, int val2) override; }; constexpr auto CefApiVersionTestCToCpp_Wrap = CefApiVersionTestCToCpp::Wrap; constexpr auto CefApiVersionTestCToCpp_Unwrap = CefApiVersionTestCToCpp::Unwrap; #endif // CEF_LIBCEF_DLL_CTOCPP_TEST_API_VERSION_TEST_CTOCPP_H_