// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFThread.pas' rev: 37.00 (Windows) #ifndef uCEFThreadHPP #define uCEFThreadHPP #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 Ucefthread { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TCefThreadRef; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TCefThreadRef : public Ucefbaserefcounted::TCefBaseRefCountedRef { typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited; protected: Ucefinterfaces::_di_ICefTaskRunner __fastcall GetTaskRunner(); Uceftypes::TCefPlatformThreadId __fastcall GetPlatformThreadID(); void __fastcall Stop(); bool __fastcall IsRunning(); public: __classmethod Ucefinterfaces::_di_ICefThread __fastcall UnWrap(void * data); __classmethod Ucefinterfaces::_di_ICefThread __fastcall New(const Uceftypes::ustring display_name, Uceftypes::TCefThreadPriority priority, Uceftypes::TCefMessageLoopType message_loop_type, int stoppable, Uceftypes::TCefCOMInitMode com_init_mode); public: /* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefThreadRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { } /* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefThreadRef() { } private: void *__ICefThread; // Ucefinterfaces::ICefThread public: #if defined(MANAGED_INTERFACE_OPERATORS) // {26B30EA5-F44A-4C40-97DF-67FD9E73A4FF} operator Ucefinterfaces::_di_ICefThread() { Ucefinterfaces::_di_ICefThread intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefThread*(void) { return (Ucefinterfaces::ICefThread*)&__ICefThread; } #endif }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefthread */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTHREAD) using namespace Ucefthread; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFThreadHPP