Files
common/CEF4Delphi/win32/hpps/uCEFPDFPrintCallback.hpp
T
2026-06-12 23:18:12 +08:00

115 lines
3.8 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFPDFPrintCallback.pas' rev: 37.00 (Windows)
#ifndef uCEFPDFPrintCallbackHPP
#define uCEFPDFPrintCallbackHPP
#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 Ucefpdfprintcallback
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCefPdfPrintCallbackOwn;
class DELPHICLASS TCefFastPdfPrintCallback;
class DELPHICLASS TCefCustomPDFPrintCallBack;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefPdfPrintCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
{
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
protected:
virtual void __fastcall OnPdfPrintFinished(const Uceftypes::ustring path, bool ok) = 0 ;
public:
__fastcall virtual TCefPdfPrintCallbackOwn();
public:
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefPdfPrintCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefPdfPrintCallbackOwn() { }
private:
void *__ICefPdfPrintCallback; // Ucefinterfaces::ICefPdfPrintCallback
public:
#if defined(MANAGED_INTERFACE_OPERATORS)
// {F1CC58E9-2C30-4932-91AE-467C8D8EFB8E}
operator Ucefinterfaces::_di_ICefPdfPrintCallback()
{
Ucefinterfaces::_di_ICefPdfPrintCallback intf;
this->GetInterface(intf);
return intf;
}
#else
operator Ucefinterfaces::ICefPdfPrintCallback*(void) { return (Ucefinterfaces::ICefPdfPrintCallback*)&__ICefPdfPrintCallback; }
#endif
};
#pragma pack(pop)
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefFastPdfPrintCallback : public TCefPdfPrintCallbackOwn
{
typedef TCefPdfPrintCallbackOwn inherited;
protected:
Ucefinterfaces::_di_TOnPdfPrintFinishedProc FProc;
virtual void __fastcall OnPdfPrintFinished(const Uceftypes::ustring path, bool ok);
public:
__fastcall TCefFastPdfPrintCallback(const Ucefinterfaces::_di_TOnPdfPrintFinishedProc proc);
__fastcall virtual ~TCefFastPdfPrintCallback();
public:
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastPdfPrintCallback(unsigned size, bool owned) : TCefPdfPrintCallbackOwn(size, owned) { }
};
#pragma pack(pop)
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefCustomPDFPrintCallBack : public TCefPdfPrintCallbackOwn
{
typedef TCefPdfPrintCallbackOwn inherited;
protected:
void *FEvents;
virtual void __fastcall OnPdfPrintFinished(const Uceftypes::ustring path, bool aResultOK);
public:
__fastcall TCefCustomPDFPrintCallBack(const Ucefinterfaces::_di_IChromiumEvents aEvents);
__fastcall virtual ~TCefCustomPDFPrintCallBack();
public:
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomPDFPrintCallBack(unsigned size, bool owned) : TCefPdfPrintCallbackOwn(size, owned) { }
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefpdfprintcallback */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFPDFPRINTCALLBACK)
using namespace Ucefpdfprintcallback;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFPDFPrintCallbackHPP