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

// (DO NOT EDIT: machine generated header) 'FMX.TMSWebGMapsWebKit.pas' rev: 32.00 (iOS)

#ifndef Fmx_TmswebgmapswebkitHPP
#define Fmx_TmswebgmapswebkitHPP

#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 <Macapi.ObjectiveC.hpp>
#include <iOSapi.CocoaTypes.hpp>
#include <iOSapi.Foundation.hpp>
#include <Macapi.Helpers.hpp>
#include <System.Rtti.hpp>

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

#pragma link "wininet.lib"


namespace Fmx
{
namespace Tmswebgmapswebkit
{
//-- forward type declarations -----------------------------------------------
__interface NSURLConnectionClass;
typedef System::DelphiInterface<NSURLConnectionClass> _di_NSURLConnectionClass;
__interface NSURLConnection;
typedef System::DelphiInterface<NSURLConnection> _di_NSURLConnection;
class DELPHICLASS TNSURLConnection;
//-- type declarations -------------------------------------------------------
__interface  INTERFACE_UUID("{BD316992-8D3F-4205-9704-4BBBDA2B760A}") NSURLConnectionClass  : public Iosapi::Foundation::NSObjectClass 
{
	virtual bool __cdecl canHandleRequest(Iosapi::Foundation::_di_NSURLRequest request) = 0 ;
	virtual void * __cdecl connectionWithRequest(Iosapi::Foundation::_di_NSURLRequest request, void * delegate) = 0 ;
	virtual Iosapi::Foundation::_di_NSData __cdecl sendSynchronousRequest(Iosapi::Foundation::_di_NSURLRequest request, System::PPointer returningResponse, System::PPointer error) = 0 ;
};

__interface  INTERFACE_UUID("{545DDD3E-AC2D-4403-9115-3DFE321D78FB}") NSURLConnection  : public Iosapi::Foundation::NSObject 
{
	virtual void __cdecl cancel(void) = 0 ;
	virtual void * __cdecl initWithRequest(Iosapi::Foundation::_di_NSURLRequest request, void * delegate) = 0 /* overload */;
	virtual void * __cdecl initWithRequest(Iosapi::Foundation::_di_NSURLRequest request, void * delegate, bool startImmediately) = 0 /* overload */;
	virtual void __cdecl scheduleInRunLoop(Iosapi::Foundation::_di_NSRunLoop aRunLoop, Iosapi::Foundation::_di_NSString forMode) = 0 ;
	virtual void __cdecl setDelegateQueue(Iosapi::Foundation::_di_NSOperationQueue queue) = 0 ;
	virtual void __cdecl start(void) = 0 ;
	virtual void __cdecl unscheduleFromRunLoop(Iosapi::Foundation::_di_NSRunLoop aRunLoop, Iosapi::Foundation::_di_NSString forMode) = 0 ;
};

class PASCALIMPLEMENTATION TNSURLConnection : public Macapi::Objectivec::TOCGenericImport__2<_di_NSURLConnectionClass,_di_NSURLConnection> 
{
	typedef Macapi::Objectivec::TOCGenericImport__2<_di_NSURLConnectionClass,_di_NSURLConnection>  inherited;
	
public:
	/* TOCImport.Create */ inline __fastcall TNSURLConnection(void * ID, void * ClsID, Macapi::Objectivec::TOCVTable* VTable) : Macapi::Objectivec::TOCGenericImport__2<_di_NSURLConnectionClass,_di_NSURLConnection> (ID, ClsID, VTable) { }
	/* TOCImport.Destroy */ inline __fastcall virtual ~TNSURLConnection(void) { }
	
};


_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;

//-- var, const, procedure ---------------------------------------------------
extern DELPHI_PACKAGE Iosapi::Foundation::_di_NSString __fastcall NSStrEx(System::UnicodeString AString);
extern DELPHI_PACKAGE System::UnicodeString __fastcall HTTPSGet(System::UnicodeString AUrl);
}	/* namespace Tmswebgmapswebkit */
}	/* namespace Fmx */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FMX_TMSWEBGMAPSWEBKIT)
using namespace Fmx::Tmswebgmapswebkit;
#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_TmswebgmapswebkitHPP
