Initial commit
This commit is contained in:
@@ -0,0 +1,74 @@
|
||||
// CodeGear C++Builder
|
||||
// Copyright (c) 1995, 2025 by Embarcadero Technologies, Inc.
|
||||
// All rights reserved
|
||||
|
||||
// (DO NOT EDIT: machine generated header) 'uCEFJson.pas' rev: 37.00 (Windows)
|
||||
|
||||
#ifndef uCEFJsonHPP
|
||||
#define uCEFJsonHPP
|
||||
|
||||
#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 <uCEFInterfaces.hpp>
|
||||
#include <uCEFTypes.hpp>
|
||||
#include <uCEFConstants.hpp>
|
||||
|
||||
//-- user supplied -----------------------------------------------------------
|
||||
|
||||
namespace Ucefjson
|
||||
{
|
||||
//-- forward type declarations -----------------------------------------------
|
||||
class DELPHICLASS TCEFJson;
|
||||
//-- type declarations -------------------------------------------------------
|
||||
#pragma pack(push,4)
|
||||
class PASCALIMPLEMENTATION TCEFJson : public System::TObject
|
||||
{
|
||||
typedef System::TObject inherited;
|
||||
|
||||
public:
|
||||
__classmethod bool __fastcall ReadValue(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, Ucefinterfaces::_di_ICefValue &aValue);
|
||||
__classmethod bool __fastcall ReadBoolean(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, bool &aValue);
|
||||
__classmethod bool __fastcall ReadInteger(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, int &aValue);
|
||||
__classmethod bool __fastcall ReadDouble(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, double &aValue);
|
||||
__classmethod bool __fastcall ReadString(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, Uceftypes::ustring &aValue);
|
||||
__classmethod bool __fastcall ReadBinary(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, Ucefinterfaces::_di_ICefBinaryValue &aValue);
|
||||
__classmethod bool __fastcall ReadDictionary(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, Ucefinterfaces::_di_ICefDictionaryValue &aValue);
|
||||
__classmethod bool __fastcall ReadList(const Ucefinterfaces::_di_ICefDictionaryValue aDictionary, const System::UnicodeString aKey, Ucefinterfaces::_di_ICefListValue &aValue);
|
||||
__classmethod Ucefinterfaces::_di_ICefValue __fastcall Parse(const Uceftypes::ustring jsonString, Uceftypes::TCefJsonParserOptions options = (Uceftypes::TCefJsonParserOptions)(0x0))/* overload */;
|
||||
__classmethod Ucefinterfaces::_di_ICefValue __fastcall Parse(const void * json, System::NativeUInt json_size, Uceftypes::TCefJsonParserOptions options = (Uceftypes::TCefJsonParserOptions)(0x0))/* overload */;
|
||||
__classmethod Ucefinterfaces::_di_ICefValue __fastcall ParseAndReturnError(const Uceftypes::ustring jsonString, Uceftypes::TCefJsonParserOptions options, /* out */ Uceftypes::ustring &errorMsgOut);
|
||||
__classmethod Uceftypes::ustring __fastcall Write(const Ucefinterfaces::_di_ICefValue node, Uceftypes::TCefJsonWriterOptions options = (Uceftypes::TCefJsonWriterOptions)(0x0))/* overload */;
|
||||
__classmethod Uceftypes::ustring __fastcall Write(const Ucefinterfaces::_di_ICefDictionaryValue node, Uceftypes::TCefJsonWriterOptions options = (Uceftypes::TCefJsonWriterOptions)(0x0))/* overload */;
|
||||
__classmethod bool __fastcall Write(const Ucefinterfaces::_di_ICefValue node, System::Classes::TStringList* &aRsltStrings)/* overload */;
|
||||
__classmethod bool __fastcall Write(const Ucefinterfaces::_di_ICefDictionaryValue node, System::Classes::TStringList* &aRsltStrings)/* overload */;
|
||||
__classmethod bool __fastcall SaveToFile(const Ucefinterfaces::_di_ICefValue node, const Uceftypes::ustring aFileName)/* overload */;
|
||||
__classmethod bool __fastcall SaveToFile(const Ucefinterfaces::_di_ICefDictionaryValue node, const Uceftypes::ustring aFileName)/* overload */;
|
||||
__classmethod bool __fastcall LoadFromFile(const Uceftypes::ustring aFileName, Ucefinterfaces::_di_ICefValue &aRsltNode, System::Sysutils::TEncoding* encoding = (System::Sysutils::TEncoding*)(0x0), Uceftypes::TCefJsonParserOptions options = (Uceftypes::TCefJsonParserOptions)(0x0));
|
||||
public:
|
||||
/* TObject.Create */ inline __fastcall TCEFJson() : System::TObject() { }
|
||||
/* TObject.Destroy */ inline __fastcall virtual ~TCEFJson() { }
|
||||
|
||||
};
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
//-- var, const, procedure ---------------------------------------------------
|
||||
} /* namespace Ucefjson */
|
||||
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_UCEFJSON)
|
||||
using namespace Ucefjson;
|
||||
#endif
|
||||
#pragma pack(pop)
|
||||
#pragma option pop
|
||||
|
||||
#pragma delphiheader end.
|
||||
//-- end unit ----------------------------------------------------------------
|
||||
#endif // uCEFJsonHPP
|
||||
Reference in New Issue
Block a user