80 lines
2.6 KiB
C++
80 lines
2.6 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFWaitableEvent.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFWaitableEventHPP
|
|
#define uCEFWaitableEventHPP
|
|
|
|
#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 <uCEFBaseRefCounted.hpp>
|
|
#include <uCEFInterfaces.hpp>
|
|
#include <uCEFTypes.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ucefwaitableevent
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefWaitableEventRef;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefWaitableEventRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
|
|
|
protected:
|
|
void __fastcall Reset();
|
|
void __fastcall Signal();
|
|
bool __fastcall IsSignaled();
|
|
void __fastcall Wait();
|
|
bool __fastcall TimedWait(__int64 max_ms);
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefWaitableEvent __fastcall UnWrap(void * data);
|
|
__classmethod Ucefinterfaces::_di_ICefWaitableEvent __fastcall New(bool automatic_reset, bool initially_signaled);
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefWaitableEventRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefWaitableEventRef() { }
|
|
|
|
private:
|
|
void *__ICefWaitableEvent; // Ucefinterfaces::ICefWaitableEvent
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {965C90C9-3DAE-457F-AA64-E04FF508094A}
|
|
operator Ucefinterfaces::_di_ICefWaitableEvent()
|
|
{
|
|
Ucefinterfaces::_di_ICefWaitableEvent intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefWaitableEvent*(void) { return (Ucefinterfaces::ICefWaitableEvent*)&__ICefWaitableEvent; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefwaitableevent */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFWAITABLEEVENT)
|
|
using namespace Ucefwaitableevent;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFWaitableEventHPP
|