// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFMediaSink.pas' rev: 37.00 (Windows) #ifndef uCEFMediaSinkHPP #define uCEFMediaSinkHPP #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 Ucefmediasink { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefMediaSinkRef; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefMediaSinkRef : public Ucefbaserefcounted::TCefBaseRefCountedRef { typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; protected: Uceftypes::ustring __fastcall GetId(); Uceftypes::ustring __fastcall GetName(); Uceftypes::TCefMediaSinkIconType __fastcall GetIconType(); void __fastcall GetDeviceInfo(const Ucefinterfaces::_di_ICefMediaSinkDeviceInfoCallback callback); bool __fastcall IsCastSink(); bool __fastcall IsDialSink(); bool __fastcall IsCompatibleWith(const Ucefinterfaces::_di_ICefMediaSource source); public: __classmethod Ucefinterfaces::_di_ICefMediaSink __fastcall UnWrap(void * data); public: /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefMediaSinkRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefMediaSinkRef() { } private: void *__ICefMediaSink; // Ucefinterfaces::ICefMediaSink public: #if defined(MANAGED_INTERFACE_OPERATORS) // {EDA1A4B2-2A4C-42DD-A7DF-901BF93D908D} operator Ucefinterfaces::_di_ICefMediaSink() { Ucefinterfaces::_di_ICefMediaSink intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefMediaSink*(void) { return (Ucefinterfaces::ICefMediaSink*)&__ICefMediaSink; } #endif }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefmediasink */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFMEDIASINK) using namespace Ucefmediasink; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFMediaSinkHPP