// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFDownloadItem.pas' rev: 37.00 (Windows) #ifndef uCEFDownloadItemHPP #define uCEFDownloadItemHPP #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 #include #include #include #include //-- user supplied ----------------------------------------------------------- namespace Ucefdownloaditem { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefDownloadItemRef; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefDownloadItemRef : public Ucefbaserefcounted::TCefBaseRefCountedRef { typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; protected: bool __fastcall IsValid(); bool __fastcall IsInProgress(); bool __fastcall IsComplete(); bool __fastcall IsCanceled(); bool __fastcall IsInterrupted(); Uceftypes::TCefDownloadInterruptReason __fastcall GetInterruptReason(); __int64 __fastcall GetCurrentSpeed(); int __fastcall GetPercentComplete(); __int64 __fastcall GetTotalBytes(); __int64 __fastcall GetReceivedBytes(); System::TDateTime __fastcall GetStartTime(); System::TDateTime __fastcall GetEndTime(); Uceftypes::ustring __fastcall GetFullPath(); unsigned __fastcall GetId(); Uceftypes::ustring __fastcall GetUrl(); Uceftypes::ustring __fastcall GetOriginalUrl(); Uceftypes::ustring __fastcall GetSuggestedFileName(); Uceftypes::ustring __fastcall GetContentDisposition(); Uceftypes::ustring __fastcall GetMimeType(); public: __classmethod Ucefinterfaces::_di_ICefDownloadItem __fastcall UnWrap(void * data); public: /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDownloadItemRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDownloadItemRef() { } private: void *__ICefDownloadItem; // Ucefinterfaces::ICefDownloadItem public: #if defined(MANAGED_INTERFACE_OPERATORS) // {B34BD320-A82E-4185-8E84-B98E5EEC803F} operator Ucefinterfaces::_di_ICefDownloadItem() { Ucefinterfaces::_di_ICefDownloadItem intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefDownloadItem*(void) { return (Ucefinterfaces::ICefDownloadItem*)&__ICefDownloadItem; } #endif }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefdownloaditem */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDOWNLOADITEM) using namespace Ucefdownloaditem; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFDownloadItemHPP