// Copyright (c) 2017 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=c86d51db351aeb618d915e3b65d4ee2952884682$ // #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(); // 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_