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

96 lines
3.4 KiB
C++

// CodeGear C++Builder
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'uCEFRunFileDialogCallback.pas' rev: 37.00 (Windows)
#ifndef uCEFRunFileDialogCallbackHPP
#define uCEFRunFileDialogCallbackHPP
#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 <System.Classes.hpp>
#include <System.SysUtils.hpp>
#include <uCEFBaseRefCounted.hpp>
#include <uCEFInterfaces.hpp>
//-- user supplied -----------------------------------------------------------
namespace Ucefrunfiledialogcallback
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TCefRunFileDialogCallbackOwn;
class DELPHICLASS TCefFastRunFileDialogCallback;
//-- type declarations -------------------------------------------------------
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefRunFileDialogCallbackOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
{
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
protected:
virtual void __fastcall OnFileDialogDismissed(System::Classes::TStrings* const filePaths);
public:
__fastcall TCefRunFileDialogCallbackOwn();
public:
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefRunFileDialogCallbackOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefRunFileDialogCallbackOwn() { }
private:
void *__ICefRunFileDialogCallback; // Ucefinterfaces::ICefRunFileDialogCallback
public:
#if defined(MANAGED_INTERFACE_OPERATORS)
// {59FCECC6-E897-45BA-873B-F09586C4BE47}
operator Ucefinterfaces::_di_ICefRunFileDialogCallback()
{
Ucefinterfaces::_di_ICefRunFileDialogCallback intf;
this->GetInterface(intf);
return intf;
}
#else
operator Ucefinterfaces::ICefRunFileDialogCallback*(void) { return (Ucefinterfaces::ICefRunFileDialogCallback*)&__ICefRunFileDialogCallback; }
#endif
};
#pragma pack(pop)
#pragma pack(push,4)
class PASCALIMPLEMENTATION TCefFastRunFileDialogCallback : public TCefRunFileDialogCallbackOwn
{
typedef TCefRunFileDialogCallbackOwn inherited;
protected:
Ucefinterfaces::_di_TCefRunFileDialogCallbackProc FCallback;
virtual void __fastcall OnFileDialogDismissed(System::Classes::TStrings* const filePaths);
public:
__fastcall virtual TCefFastRunFileDialogCallback(Ucefinterfaces::_di_TCefRunFileDialogCallbackProc callback);
public:
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastRunFileDialogCallback(unsigned size, bool owned) : TCefRunFileDialogCallbackOwn(size, owned) { }
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastRunFileDialogCallback() { }
};
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
} /* namespace Ucefrunfiledialogcallback */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFRUNFILEDIALOGCALLBACK)
using namespace Ucefrunfiledialogcallback;
#endif
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // uCEFRunFileDialogCallbackHPP