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