X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=dependencies64%2Fcef%2Flinux%2Flibcef_dll%2Fctocpp%2Ftest%2Ftranslator_test_ctocpp.h;fp=dependencies64%2Fcef%2Flinux%2Flibcef_dll%2Fctocpp%2Ftest%2Ftranslator_test_ctocpp.h;h=07afe803a58e0092f3534a735183890a96af9c70;hb=8128744e46d808a1105fb449365d7028df8c32b4;hp=0000000000000000000000000000000000000000;hpb=3a0dc241f598cabf83bcc67970176453929a73f1;p=casparcg diff --git a/dependencies64/cef/linux/libcef_dll/ctocpp/test/translator_test_ctocpp.h b/dependencies64/cef/linux/libcef_dll/ctocpp/test/translator_test_ctocpp.h new file mode 100644 index 000000000..07afe803a --- /dev/null +++ b/dependencies64/cef/linux/libcef_dll/ctocpp/test/translator_test_ctocpp.h @@ -0,0 +1,124 @@ +// 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. +// + +#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/test/cef_translator_test.h" +#include "include/capi/test/cef_translator_test_capi.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_