// 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=774d22a8a54e71a2511ce6a66491d9563302f0bf$ // #ifndef CEF_LIBCEF_DLL_CTOCPP_TEST_TRANSLATOR_TEST_CTOCPP_H_ #define CEF_LIBCEF_DLL_CTOCPP_TEST_TRANSLATOR_TEST_CTOCPP_H_ #pragma once #if !defined(WRAPPING_CEF_SHARED) #error This file can be included wrapper-side only #endif #include #include #include "include/capi/test/cef_translator_test_capi.h" #include "include/test/cef_translator_test.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 CefTranslatorTestCToCpp : public CefCToCppRefCounted { public: CefTranslatorTestCToCpp(); virtual ~CefTranslatorTestCToCpp(); // CefTranslatorTest methods. void GetVoid() override; bool GetBool() override; int GetInt() override; double GetDouble() override; long GetLong() override; size_t GetSizet() override; bool SetVoid() override; bool SetBool(bool val) override; bool SetInt(int val) override; bool SetDouble(double val) override; bool SetLong(long val) override; bool SetSizet(size_t val) override; bool SetIntList(const std::vector& val) override; bool GetIntListByRef(IntList& val) override; size_t GetIntListSize() override; CefString GetString() override; bool SetString(const CefString& val) override; void GetStringByRef(CefString& val) override; bool SetStringList(const std::vector& val) override; bool GetStringListByRef(StringList& val) override; bool SetStringMap(const StringMap& val) override; bool GetStringMapByRef(std::map& val) override; bool SetStringMultimap( const std::multimap& val) override; bool GetStringMultimapByRef(StringMultimap& val) override; CefPoint GetPoint() override; bool SetPoint(const CefPoint& val) override; void GetPointByRef(CefPoint& val) override; bool SetPointList(const std::vector& val) override; bool GetPointListByRef(PointList& val) override; size_t GetPointListSize() override; 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; int SetChildRefPtrClient( CefRefPtr val) override; CefRefPtr SetChildRefPtrClientAndReturnParent( CefRefPtr val) override; 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; int SetChildOwnPtrClient( CefOwnPtr val) override; CefOwnPtr SetChildOwnPtrClientAndReturnParent( CefOwnPtr val) override; 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; int SetChildRawPtrClient( CefRawPtr val) override; bool SetRawPtrClientList( const std::vector>& val, int val1, int val2) override; }; #endif // CEF_LIBCEF_DLL_CTOCPP_TEST_TRANSLATOR_TEST_CTOCPP_H_