// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFTaskRunner.pas' rev: 37.00 (Windows) #ifndef uCEFTaskRunnerHPP #define uCEFTaskRunnerHPP #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 Uceftaskrunner { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefTaskRunnerRef; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefTaskRunnerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef { typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; protected: bool __fastcall IsSame(const Ucefinterfaces::_di_ICefTaskRunner that); bool __fastcall BelongsToCurrentThread(); bool __fastcall BelongsToThread(Uceftypes::TCefThreadId threadId); bool __fastcall PostTask(const Ucefinterfaces::_di_ICefTask task); bool __fastcall PostDelayedTask(const Ucefinterfaces::_di_ICefTask task, __int64 delayMs); public: __classmethod Ucefinterfaces::_di_ICefTaskRunner __fastcall UnWrap(void * data); __classmethod Ucefinterfaces::_di_ICefTaskRunner __fastcall GetForCurrentThread(); __classmethod Ucefinterfaces::_di_ICefTaskRunner __fastcall GetForThread(Uceftypes::TCefThreadId threadId); public: /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefTaskRunnerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefTaskRunnerRef() { } private: void *__ICefTaskRunner; // Ucefinterfaces::ICefTaskRunner public: #if defined(MANAGED_INTERFACE_OPERATORS) // {6A500FA3-77B7-4418-8EA8-6337EED1337B} operator Ucefinterfaces::_di_ICefTaskRunner() { Ucefinterfaces::_di_ICefTaskRunner intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefTaskRunner*(void) { return (Ucefinterfaces::ICefTaskRunner*)&__ICefTaskRunner; } #endif }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Uceftaskrunner */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTASKRUNNER) using namespace Uceftaskrunner; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFTaskRunnerHPP