// CodeGear C++Builder
// Copyright (c) 1995, 2016 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'FMX.TMSWebGMapsCommonFunctions.pas' rev: 31.00 (Android)

#ifndef Fmx_TmswebgmapscommonfunctionsHPP
#define Fmx_TmswebgmapscommonfunctionsHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <System.Classes.hpp>
#include <FMX.Controls.hpp>
#include <System.SysUtils.hpp>
#include <FMX.Graphics.hpp>
#include <System.StrUtils.hpp>
#include <System.UITypes.hpp>
#include <System.JSON.hpp>
#include <FMX.TMSWebGMapsCommon.hpp>

//-- user supplied -----------------------------------------------------------

namespace Fmx
{
namespace Tmswebgmapscommonfunctions
{
//-- forward type declarations -----------------------------------------------
class DELPHICLASS TLocation;
class DELPHICLASS TBounds;
//-- type declarations -------------------------------------------------------
_DECLARE_ARITH_TYPE_ALIAS(System::WideChar, AChar);

typedef AChar *PAChar;

typedef AChar AnsiChar;

typedef System::UnicodeString AnsiString;

typedef System::UnicodeString UTF8String;

typedef System::UnicodeString rawbytestring;

class PASCALIMPLEMENTATION TLocation : public System::Classes::TPersistent
{
	typedef System::Classes::TPersistent inherited;
	
private:
	double FLatitude;
	double FLongitude;
	
public:
	__fastcall TLocation(void);
	__fastcall virtual ~TLocation(void);
	virtual void __fastcall Assign(System::Classes::TPersistent* Source);
	
__published:
	__property double Latitude = {read=FLatitude, write=FLatitude};
	__property double Longitude = {read=FLongitude, write=FLongitude};
};


#pragma pack(push,4)
class PASCALIMPLEMENTATION TBounds : public System::Classes::TPersistent
{
	typedef System::Classes::TPersistent inherited;
	
private:
	TLocation* FNorthEast;
	TLocation* FSouthWest;
	
public:
	__fastcall TBounds(void);
	__fastcall virtual ~TBounds(void);
	virtual void __fastcall Assign(System::Classes::TPersistent* Source);
	
__published:
	__property TLocation* NorthEast = {read=FNorthEast, write=FNorthEast};
	__property TLocation* SouthWest = {read=FSouthWest, write=FSouthWest};
};

#pragma pack(pop)

//-- var, const, procedure ---------------------------------------------------
extern DELPHI_PACKAGE System::UnicodeString __fastcall URLEncode(const System::UnicodeString Url);
extern DELPHI_PACKAGE System::UnicodeString __fastcall ColorToHTML(System::Uitypes::TAlphaColor Color);
extern DELPHI_PACKAGE System::UnicodeString __fastcall URLDecode(const System::UnicodeString Url);
extern DELPHI_PACKAGE System::UnicodeString __fastcall ConvertCoordinateToString(double Coordinate);
extern DELPHI_PACKAGE double __fastcall ConvertStringToCoordinate(System::UnicodeString Coordinate);
extern DELPHI_PACKAGE System::UnicodeString __fastcall Convert255To1(int value);
extern DELPHI_PACKAGE System::UnicodeString __fastcall GetJSONProp(System::Json::TJSONObject* O, System::UnicodeString ID);
extern DELPHI_PACKAGE System::Json::TJSONValue* __fastcall GetJSONValue(System::Json::TJSONObject* O, System::UnicodeString ID);
extern DELPHI_PACKAGE System::UnicodeString __fastcall CleanUpJSON(System::UnicodeString Value);
extern DELPHI_PACKAGE double __fastcall GetJSONDouble(System::Json::TJSONObject* O, System::UnicodeString ID);
extern DELPHI_PACKAGE int __fastcall GetArraySize(System::Json::TJSONArray* ja);
extern DELPHI_PACKAGE System::Json::TJSONValue* __fastcall GetArrayItem(System::Json::TJSONArray* ja, int Index);
}	/* namespace Tmswebgmapscommonfunctions */
}	/* namespace Fmx */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FMX_TMSWEBGMAPSCOMMONFUNCTIONS)
using namespace Fmx::Tmswebgmapscommonfunctions;
#endif
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FMX)
using namespace Fmx;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Fmx_TmswebgmapscommonfunctionsHPP
