2012-04-03 03:34:16 +02:00
|
|
|
// Copyright (c) 2009 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.
|
|
|
|
|
2017-02-09 23:07:43 +01:00
|
|
|
#ifndef CEF_LIBCEF_DLL_CPPTOC_BASE_REF_COUNTED_CPPTOC_H_
|
|
|
|
#define CEF_LIBCEF_DLL_CPPTOC_BASE_REF_COUNTED_CPPTOC_H_
|
2012-04-03 03:34:16 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "include/capi/cef_base_capi.h"
|
2017-05-17 11:29:28 +02:00
|
|
|
#include "include/cef_base.h"
|
2017-02-09 23:07:43 +01:00
|
|
|
#include "libcef_dll/cpptoc/cpptoc_ref_counted.h"
|
2012-04-03 03:34:16 +02:00
|
|
|
|
2016-11-18 00:52:42 +01:00
|
|
|
#if !defined(WRAPPING_CEF_SHARED)
|
|
|
|
#error This file can be included wrapper-side only
|
|
|
|
#endif
|
2012-04-03 03:34:16 +02:00
|
|
|
|
2015-04-26 20:40:01 +02:00
|
|
|
// Wrap a C++ class with a C structure.
|
2017-02-09 23:07:43 +01:00
|
|
|
class CefBaseRefCountedCppToC
|
2017-05-17 11:29:28 +02:00
|
|
|
: public CefCppToCRefCounted<CefBaseRefCountedCppToC,
|
|
|
|
CefBaseRefCounted,
|
2017-02-09 23:07:43 +01:00
|
|
|
cef_base_ref_counted_t> {
|
2015-04-26 20:40:01 +02:00
|
|
|
public:
|
2017-02-09 23:07:43 +01:00
|
|
|
CefBaseRefCountedCppToC();
|
2012-04-03 03:34:16 +02:00
|
|
|
};
|
|
|
|
|
2017-02-09 23:07:43 +01:00
|
|
|
#endif // CEF_LIBCEF_DLL_CPPTOC_BASE_REF_COUNTED_CPPTOC_H_
|