75 lines
2.5 KiB
C++
75 lines
2.5 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFResourceReadCallback.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFResourceReadCallbackHPP
|
|
#define uCEFResourceReadCallbackHPP
|
|
|
|
#pragma delphiheader begin
|
|
#pragma option push
|
|
#if defined(__BORLANDC__) && !defined(__clang__)
|
|
#pragma option -w- // All warnings off
|
|
#pragma option -Vx // Zero-length empty class member
|
|
#endif
|
|
#pragma pack(push,8)
|
|
#include <System.hpp>
|
|
#include <SysInit.hpp>
|
|
#include <uCEFBaseRefCounted.hpp>
|
|
#include <uCEFInterfaces.hpp>
|
|
#include <uCEFTypes.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ucefresourcereadcallback
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefResourceReadCallbackRef;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefResourceReadCallbackRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
|
|
|
protected:
|
|
void __fastcall Cont(__int64 bytes_read);
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefResourceReadCallback __fastcall UnWrap(void * data);
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefResourceReadCallbackRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefResourceReadCallbackRef() { }
|
|
|
|
private:
|
|
void *__ICefResourceReadCallback; // Ucefinterfaces::ICefResourceReadCallback
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {7669335F-7A4B-4657-86CA-C02B12369602}
|
|
operator Ucefinterfaces::_di_ICefResourceReadCallback()
|
|
{
|
|
Ucefinterfaces::_di_ICefResourceReadCallback intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefResourceReadCallback*(void) { return (Ucefinterfaces::ICefResourceReadCallback*)&__ICefResourceReadCallback; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefresourcereadcallback */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRESOURCEREADCALLBACK)
|
|
using namespace Ucefresourcereadcallback;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFResourceReadCallbackHPP
|