100 lines
3.8 KiB
C++
100 lines
3.8 KiB
C++
// CodeGear C++Builder
|
|
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
|
// All rights reserved
|
|
|
|
// (DO NOT EDIT: machine generated header) 'uCEFCommandLine.pas' rev: 37.00 (Windows)
|
|
|
|
#ifndef uCEFCommandLineHPP
|
|
#define uCEFCommandLineHPP
|
|
|
|
#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 <System.Classes.hpp>
|
|
#include <System.SysUtils.hpp>
|
|
#include <uCEFBaseRefCounted.hpp>
|
|
#include <uCEFTypes.hpp>
|
|
#include <uCEFInterfaces.hpp>
|
|
|
|
//-- user supplied -----------------------------------------------------------
|
|
|
|
namespace Ucefcommandline
|
|
{
|
|
//-- forward type declarations -----------------------------------------------
|
|
class DELPHICLASS TCefCommandLineRef;
|
|
//-- type declarations -------------------------------------------------------
|
|
#pragma pack(push,4)
|
|
class PASCALIMPLEMENTATION TCefCommandLineRef : public Ucefbaserefcounted::TCefBaseRefCountedRef
|
|
{
|
|
typedef Ucefbaserefcounted::TCefBaseRefCountedRef inherited;
|
|
|
|
protected:
|
|
bool __fastcall IsValid();
|
|
bool __fastcall IsReadOnly();
|
|
Ucefinterfaces::_di_ICefCommandLine __fastcall Copy();
|
|
void __fastcall InitFromArgv(int argc, const System::PPAnsiChar argv);
|
|
void __fastcall InitFromString(const Uceftypes::ustring commandLine);
|
|
void __fastcall Reset();
|
|
Uceftypes::ustring __fastcall GetCommandLineString();
|
|
void __fastcall GetArgv(System::Classes::TStrings* &args);
|
|
Uceftypes::ustring __fastcall GetProgram();
|
|
void __fastcall SetProgram(const Uceftypes::ustring prog);
|
|
bool __fastcall HasSwitches();
|
|
bool __fastcall HasSwitch(const Uceftypes::ustring name);
|
|
Uceftypes::ustring __fastcall GetSwitchValue(const Uceftypes::ustring name);
|
|
bool __fastcall GetSwitches(System::Classes::TStrings* &switches)/* overload */;
|
|
bool __fastcall GetSwitches(System::Classes::TStringList* &SwitchKeys, System::Classes::TStringList* &SwitchValues)/* overload */;
|
|
void __fastcall AppendSwitch(const Uceftypes::ustring name);
|
|
void __fastcall AppendSwitchWithValue(const Uceftypes::ustring name, const Uceftypes::ustring value);
|
|
bool __fastcall HasArguments();
|
|
void __fastcall GetArguments(System::Classes::TStrings* &arguments);
|
|
void __fastcall AppendArgument(const Uceftypes::ustring argument);
|
|
void __fastcall PrependWrapper(const Uceftypes::ustring wrapper);
|
|
void __fastcall RemoveSwitch(const Uceftypes::ustring name_);
|
|
|
|
public:
|
|
__classmethod Ucefinterfaces::_di_ICefCommandLine __fastcall UnWrap(void * data);
|
|
__classmethod Ucefinterfaces::_di_ICefCommandLine __fastcall New();
|
|
__classmethod Ucefinterfaces::_di_ICefCommandLine __fastcall Global();
|
|
public:
|
|
/* TCefBaseRefCountedRef.Create */ inline __fastcall virtual TCefCommandLineRef(void * data) : Ucefbaserefcounted::TCefBaseRefCountedRef(data) { }
|
|
/* TCefBaseRefCountedRef.Destroy */ inline __fastcall virtual ~TCefCommandLineRef() { }
|
|
|
|
private:
|
|
void *__ICefCommandLine; // Ucefinterfaces::ICefCommandLine
|
|
|
|
public:
|
|
#if defined(MANAGED_INTERFACE_OPERATORS)
|
|
// {6B43D21B-0F2C-4B94-B4E6-4AF0D7669D8E}
|
|
operator Ucefinterfaces::_di_ICefCommandLine()
|
|
{
|
|
Ucefinterfaces::_di_ICefCommandLine intf;
|
|
this->GetInterface(intf);
|
|
return intf;
|
|
}
|
|
#else
|
|
operator Ucefinterfaces::ICefCommandLine*(void) { return (Ucefinterfaces::ICefCommandLine*)&__ICefCommandLine; }
|
|
#endif
|
|
|
|
};
|
|
|
|
#pragma pack(pop)
|
|
|
|
//-- var, const, procedure ---------------------------------------------------
|
|
} /* namespace Ucefcommandline */
|
|
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFCOMMANDLINE)
|
|
using namespace Ucefcommandline;
|
|
#endif
|
|
#pragma pack(pop)
|
|
#pragma option pop
|
|
|
|
#pragma delphiheader end.
|
|
//-- end unit ----------------------------------------------------------------
|
|
#endif // uCEFCommandLineHPP
|