80 lines
2.7 KiB
C++
80 lines
2.7 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFTaskManager.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFTaskManagerHPP
|
|
#define uCEFTaskManagerHPP
|
|
|
|
#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 Uceftaskmanager
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefTaskManagerRef;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefTaskManagerRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
|
|
|
protected:
|
|
System::NativeUInt __fastcall GetTasksCount();
|
|
bool __fastcall GetTaskIdsList(Uceftypes::TCefCustomInt64Array &task_ids);
|
|
bool __fastcall GetTaskInfo(const __int64 task_id, Uceftypes::TCustomTaskInfo &info);
|
|
bool __fastcall KillTask(__int64 task_id);
|
|
__int64 __fastcall GetTaskIdForBrowserId(int browser_id);
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefTaskManager __fastcall UnWrap(void * data);
|
|
__classmethod Ucefinterfaces::_di_ICefTaskManager __fastcall New();
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefTaskManagerRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefTaskManagerRef() { }
|
|
|
|
private:
|
|
void *__ICefTaskManager; // Ucefinterfaces::ICefTaskManager
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {913B6FE7-1543-407D-9A23-8C232103965B}
|
|
operator Ucefinterfaces::_di_ICefTaskManager()
|
|
{
|
|
Ucefinterfaces::_di_ICefTaskManager intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefTaskManager*(void) { return (Ucefinterfaces::ICefTaskManager*)&__ICefTaskManager; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Uceftaskmanager */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFTASKMANAGER)
|
|
using namespace Uceftaskmanager;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFTaskManagerHPP
|