// CodeGear C++Builder // Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc. // All rights reserved // (DO NOT EDIT: machine generated header) 'uCEFBaseRefCounted.pas' rev: 37.00 (Windows) #ifndef uCEFBaseRefCountedHPP #define uCEFBaseRefCountedHPP #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 //-- user supplied ----------------------------------------------------------- namespace Ucefbaserefcounted { //-- forward type declarations ----------------------------------------------- class DELPHICLASS TLoggingInterfacedObject; class DELPHICLASS TCefBaseRefCountedOwn; class DELPHICLASS TCefBaseRefCountedRef; //-- type declarations ------------------------------------------------------- #pragma pack(push,4) class PASCALIMPLEMENTATION TLoggingInterfacedObject : public System::TInterfacedObject { typedef System::TInterfacedObject inherited; protected: HIDESBASE int __stdcall _AddRef(); HIDESBASE int __stdcall _Release(); public: __classmethod virtual System::TObject* __fastcall NewInstance(); public: /* TObject.Create */ inline __fastcall TLoggingInterfacedObject() : System::TInterfacedObject() { } /* TObject.Destroy */ inline __fastcall virtual ~TLoggingInterfacedObject() { } }; #pragma pack(pop) #pragma pack(push,4) class PASCALIMPLEMENTATION TCefBaseRefCountedOwn : public System::TInterfacedObject { typedef System::TInterfacedObject inherited; protected: void *FData; bool __fastcall HasOneRef(); bool __fastcall HasAtLeastOneRef(); public: __fastcall virtual TCefBaseRefCountedOwn(unsigned size, bool owned); __fastcall virtual ~TCefBaseRefCountedOwn(); bool __fastcall SameAs(void * aData)/* overload */; bool __fastcall SameAs(const Ucefinterfaces::_di_ICefBaseRefCounted aBaseRefCounted)/* overload */; void __fastcall DestroyOtherRefs(); void * __fastcall Wrap(); public: /* TObject.Create */ inline __fastcall TCefBaseRefCountedOwn() : System::TInterfacedObject() { } private: void *__ICefBaseRefCounted; // Ucefinterfaces::ICefBaseRefCounted public: #if defined(MANAGED_INTERFACE_OPERATORS) // {1F9A7B44-DCDC-4477-9180-3ADD44BDEB7B} operator Ucefinterfaces::_di_ICefBaseRefCounted() { Ucefinterfaces::_di_ICefBaseRefCounted intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefBaseRefCounted*(void) { return (Ucefinterfaces::ICefBaseRefCounted*)&__ICefBaseRefCounted; } #endif }; #pragma pack(pop) #pragma pack(push,4) class PASCALIMPLEMENTATION TCefBaseRefCountedRef : public System::TInterfacedObject { typedef System::TInterfacedObject inherited; protected: void *FData; bool __fastcall HasOneRef(); bool __fastcall HasAtLeastOneRef(); public: __fastcall virtual TCefBaseRefCountedRef(void * data); __fastcall virtual ~TCefBaseRefCountedRef(); bool __fastcall SameAs(void * aData)/* overload */; bool __fastcall SameAs(const Ucefinterfaces::_di_ICefBaseRefCounted aBaseRefCounted)/* overload */; void __fastcall DestroyOtherRefs(); void * __fastcall Wrap(); __classmethod Ucefinterfaces::_di_ICefBaseRefCounted __fastcall UnWrap(void * data); private: void *__ICefBaseRefCounted; // Ucefinterfaces::ICefBaseRefCounted public: #if defined(MANAGED_INTERFACE_OPERATORS) // {1F9A7B44-DCDC-4477-9180-3ADD44BDEB7B} operator Ucefinterfaces::_di_ICefBaseRefCounted() { Ucefinterfaces::_di_ICefBaseRefCounted intf; this->GetInterface(intf); return intf; } #else operator Ucefinterfaces::ICefBaseRefCounted*(void) { return (Ucefinterfaces::ICefBaseRefCounted*)&__ICefBaseRefCounted; } #endif }; #pragma pack(pop) //-- var, const, procedure --------------------------------------------------- } /* namespace Ucefbaserefcounted */ #if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFBASEREFCOUNTED) using namespace Ucefbaserefcounted; #endif #pragma pack(pop) #pragma option pop #pragma delphiheader end. //-- end unit ---------------------------------------------------------------- #endif // uCEFBaseRefCountedHPP