// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFDialogHandler.pas' rev: 37.00 (Windows) #ifndef uCEFDialogHandlerHPP #define uCEFDialogHandlerHPP #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 //-- user supplied ----------------------------------------------------------- namespace Ucefdialoghandler { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefDialogHandlerOwn; class DELPHICLASS TCustomDialogHandler; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefDialogHandlerOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn { typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited; protected: virtual bool __fastcall OnFileDialog(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefFileDialogMode mode, const Uceftypes::ustring title, const Uceftypes::ustring defaultFilePath, System::Classes::TStrings* const acceptFilters, System::Classes::TStrings* const accept_extensions, System::Classes::TStrings* const accept_descriptions, const Ucefinterfaces::_di_ICefFileDialogCallback callback); virtual void __fastcall RemoveReferences(); public: __fastcall virtual TCefDialogHandlerOwn(); public: /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefDialogHandlerOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { } /* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefDialogHandlerOwn() { } private: void *__ICefDialogHandler; // Ucefinterfaces::ICefDialogHandler public: #if defined(MANAGED_INTERFACE_OPERATORS) // {7763F4B2-8BE1-4E80-AC43-8B825850DC67} operator Ucefinterfaces::_di_ICefDialogHandler() { Ucefinterfaces::_di_ICefDialogHandler intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefDialogHandler*(void) { return (Ucefinterfaces::ICefDialogHandler*)&__ICefDialogHandler; } #endif }; #pragma pack(pop) #pragma pack(push,4) class PASCALIMPLEMENTATION TCustomDialogHandler : public TCefDialogHandlerOwn { typedef TCefDialogHandlerOwn inherited; protected: void *FEvents; virtual bool __fastcall OnFileDialog(const Ucefinterfaces::_di_ICefBrowser browser, Uceftypes::TCefFileDialogMode mode, const Uceftypes::ustring title, const Uceftypes::ustring defaultFilePath, System::Classes::TStrings* const acceptFilters, System::Classes::TStrings* const accept_extensions, System::Classes::TStrings* const accept_descriptions, const Ucefinterfaces::_di_ICefFileDialogCallback callback); virtual void __fastcall RemoveReferences(); public: __fastcall virtual TCustomDialogHandler(const Ucefinterfaces::_di_IChromiumEvents events); __fastcall virtual ~TCustomDialogHandler(); public: /* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCustomDialogHandler(unsigned size, bool owned) : TCefDialogHandlerOwn(size, owned) { } }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefdialoghandler */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFDIALOGHANDLER) using namespace Ucefdialoghandler; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFDialogHandlerHPP