// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFDragData.pas' rev: 37.00 (Windows) #ifndef uCEFDragDataHPP #define uCEFDragDataHPP #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 #include #include //-- user supplied ----------------------------------------------------------- namespace Ucefdragdata { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefDragDataRef; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefDragDataRef : public Ucefbaserefcounted::TCefBaseRefCountedRef { typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; protected: Ucefinterfaces::_di_ICefDragData __fastcall Clone(); bool __fastcall IsReadOnly(); bool __fastcall IsLink(); bool __fastcall IsFragment(); bool __fastcall IsFile(); Uceftypes::ustring __fastcall GetLinkUrl(); Uceftypes::ustring __fastcall GetLinkTitle(); Uceftypes::ustring __fastcall GetLinkMetadata(); Uceftypes::ustring __fastcall GetFragmentText(); Uceftypes::ustring __fastcall GetFragmentHtml(); Uceftypes::ustring __fastcall GetFragmentBaseUrl(); Uceftypes::ustring __fastcall GetFileName(); System::NativeUInt __fastcall GetFileContents(const Ucefinterfaces::_di_ICefStreamWriter writer); int __fastcall GetFileNames(System::Classes::TStrings* &names); int __fastcall GetFilePaths(System::Classes::TStrings* &paths); void __fastcall SetLinkUrl(const Uceftypes::ustring url); void __fastcall SetLinkTitle(const Uceftypes::ustring title); void __fastcall SetLinkMetadata(const Uceftypes::ustring data); void __fastcall SetFragmentText(const Uceftypes::ustring text); void __fastcall SetFragmentHtml(const Uceftypes::ustring html); void __fastcall SetFragmentBaseUrl(const Uceftypes::ustring baseUrl); void __fastcall ResetFileContents(); void __fastcall AddFile(const Uceftypes::ustring path, const Uceftypes::ustring displayName); void __fastcall ClearFilenames(); Ucefinterfaces::_di_ICefImage __fastcall GetImage(); Uceftypes::TCefPoint __fastcall GetImageHotspot(); bool __fastcall HasImage(); public: __classmethod Ucefinterfaces::_di_ICefDragData __fastcall UnWrap(void * data); __classmethod Ucefinterfaces::_di_ICefDragData __fastcall New(); public: /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefDragDataRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefDragDataRef() { } private: void *__ICefDragData; // Ucefinterfaces::ICefDragData public: #if defined(MANAGED_INTERFACE_OPERATORS) // {FBB6A487-F633-4055-AB3E-6619EDE75683} operator Ucefinterfaces::_di_ICefDragData() { Ucefinterfaces::_di_ICefDragData intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefDragData*(void) { return (Ucefinterfaces::ICefDragData*)&__ICefDragData; } #endif }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefdragdata */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDRAGDATA) using namespace Ucefdragdata; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFDragDataHPP