116 lines
4.8 KiB
C++
116 lines
4.8 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFCookieVisitor.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFCookieVisitorHPP
|
|
#define uCEFCookieVisitorHPP
|
|
|
|
#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 Ucefcookievisitor
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefCookieVisitorOwn;
|
|
class DELPHICLASS TCefFastCookieVisitor;
|
|
class DELPHICLASS TCefCustomCookieVisitor;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefCookieVisitorOwn : public Ucefbaserefcounted::TCefBaseRefCountedOwn
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedOwn inherited;
|
|
|
|
protected:
|
|
virtual bool __fastcall visit(const Uceftypes::ustring name, const Uceftypes::ustring value, const Uceftypes::ustring domain, const Uceftypes::ustring path, bool secure, bool httponly, bool hasExpires, const System::TDateTime creation, const System::TDateTime lastAccess, const System::TDateTime expires, int count, int total, Uceftypes::TCefCookieSameSite same_site, Uceftypes::TCefCookiePriority priority, /* out */ bool &deleteCookie);
|
|
|
|
public:
|
|
__fastcall virtual TCefCookieVisitorOwn();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCookieVisitorOwn(unsigned size, bool owned) : Ucefbaserefcounted::TCefBaseRefCountedOwn(size, owned) { }
|
|
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefCookieVisitorOwn() { }
|
|
|
|
private:
|
|
void *__ICefCookieVisitor; // Ucefinterfaces::ICefCookieVisitor
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {8378CF1B-84AB-4FDB-9B86-34DDABCCC402}
|
|
operator Ucefinterfaces::_di_ICefCookieVisitor()
|
|
{
|
|
Ucefinterfaces::_di_ICefCookieVisitor intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefCookieVisitor*(void) { return (Ucefinterfaces::ICefCookieVisitor*)&__ICefCookieVisitor; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefFastCookieVisitor : public TCefCookieVisitorOwn
|
|
{
|
|
typedef TCefCookieVisitorOwn inherited;
|
|
|
|
protected:
|
|
Ucefinterfaces::_di_TCefCookieVisitorProc FVisitor;
|
|
virtual bool __fastcall visit(const Uceftypes::ustring name, const Uceftypes::ustring value, const Uceftypes::ustring domain, const Uceftypes::ustring path, bool secure, bool httponly, bool hasExpires, const System::TDateTime creation, const System::TDateTime lastAccess, const System::TDateTime expires, int count, int total, Uceftypes::TCefCookieSameSite same_site, Uceftypes::TCefCookiePriority priority, /* out */ bool &deleteCookie);
|
|
|
|
public:
|
|
__fastcall TCefFastCookieVisitor(const Ucefinterfaces::_di_TCefCookieVisitorProc visitor);
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefFastCookieVisitor(unsigned size, bool owned) : TCefCookieVisitorOwn(size, owned) { }
|
|
/* TCefBaseRefCountedOwn.Destroy */ inline __fastcall virtual ~TCefFastCookieVisitor() { }
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefCustomCookieVisitor : public TCefCookieVisitorOwn
|
|
{
|
|
typedef TCefCookieVisitorOwn inherited;
|
|
|
|
protected:
|
|
void *FEvents;
|
|
int FID;
|
|
virtual bool __fastcall visit(const Uceftypes::ustring name, const Uceftypes::ustring value, const Uceftypes::ustring domain, const Uceftypes::ustring path, bool secure, bool httponly, bool hasExpires, const System::TDateTime creation, const System::TDateTime lastAccess, const System::TDateTime expires, int count, int total, Uceftypes::TCefCookieSameSite same_site, Uceftypes::TCefCookiePriority priority, /* out */ bool &deleteCookie);
|
|
|
|
public:
|
|
__fastcall TCefCustomCookieVisitor(const Ucefinterfaces::_di_IChromiumEvents aEvents, int aID);
|
|
__fastcall virtual ~TCefCustomCookieVisitor();
|
|
public:
|
|
/* TCefBaseRefCountedOwn.CreateData */ inline __fastcall virtual TCefCustomCookieVisitor(unsigned size, bool owned) : TCefCookieVisitorOwn(size, owned) { }
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefcookievisitor */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCOOKIEVISITOR)
|
|
using namespace Ucefcookievisitor;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFCookieVisitorHPP
|