1 // Copyright (c) 2009 The Chromium Embedded Framework Authors. All rights 2 // reserved. Use of this source code is governed by a BSD-style license that 3 // can be found in the LICENSE file. 4 5 #ifndef CEF_LIBCEF_DLL_CTOCPP_BASE_REF_COUNTED_CTOCPP_H_ 6 #define CEF_LIBCEF_DLL_CTOCPP_BASE_REF_COUNTED_CTOCPP_H_ 7 #pragma once 8 9 #include "include/capi/cef_base_capi.h" 10 #include "include/cef_base.h" 11 #include "libcef_dll/ctocpp/ctocpp_ref_counted.h" 12 13 #if !defined(BUILDING_CEF_SHARED) 14 #error This file can be included DLL-side only 15 #endif 16 17 // Wrap a C structure with a C++ class. 18 class CefBaseRefCountedCToCpp 19 : public CefCToCppRefCounted<CefBaseRefCountedCToCpp, 20 CefBaseRefCounted, 21 cef_base_ref_counted_t> { 22 public: 23 CefBaseRefCountedCToCpp(); 24 }; 25 26 #endif // CEF_LIBCEF_DLL_CTOCPP_BASE_REF_COUNTED_CTOCPP_H_ 27