pulsar/cef/libcef_dll/ctocpp/callback_ctocpp.cc

44 lines
1.1 KiB
C++
Raw Normal View History

// Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
2012-02-22 02:27:41 +04:00
// 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.
//
2012-08-10 23:32:19 +04:00
#include "libcef_dll/ctocpp/callback_ctocpp.h"
2012-02-22 02:27:41 +04:00
// VIRTUAL METHODS - Body may be edited by hand.
2012-08-10 23:32:19 +04:00
void CefCallbackCToCpp::Continue() {
if (CEF_MEMBER_MISSING(struct_, cont))
2012-02-22 02:27:41 +04:00
return;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
2012-08-10 23:32:19 +04:00
struct_->cont(struct_);
2012-02-22 02:27:41 +04:00
}
2012-08-10 23:32:19 +04:00
void CefCallbackCToCpp::Cancel() {
2012-02-22 02:27:41 +04:00
if (CEF_MEMBER_MISSING(struct_, cancel))
return;
// AUTO-GENERATED CONTENT - DELETE THIS COMMENT BEFORE MODIFYING
// Execute
struct_->cancel(struct_);
}
#ifndef NDEBUG
2012-08-10 23:32:19 +04:00
template<> long CefCToCpp<CefCallbackCToCpp, CefCallback,
cef_callback_t>::DebugObjCt = 0;
2012-02-22 02:27:41 +04:00
#endif