• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_CPPTOC_BASE_CPPTOC_H_
6  #define CEF_LIBCEF_DLL_CPPTOC_BASE_CPPTOC_H_
7  #pragma once
8  
9  #include "include/capi/cef_base_capi.h"
10  #include "include/cef_base.h"
11  #include "libcef_dll/cpptoc/cpptoc_scoped.h"
12  
13  #if !defined(WRAPPING_CEF_SHARED)
14  #error This file can be included wrapper-side only
15  #endif
16  
17  // Wrap a C++ class with a C structure.
18  class CefBaseScopedCppToC : public CefCppToCScoped<CefBaseScopedCppToC,
19                                                     CefBaseScoped,
20                                                     cef_base_scoped_t> {
21   public:
22    CefBaseScopedCppToC();
23  };
24  
25  #endif  // CEF_LIBCEF_DLL_CPPTOC_BASE_CPPTOC_H_
26