First commit

This commit is contained in:
2021-03-07 05:58:59 +01:00
committed by Andreas Schaafsma
commit 5d4c4a054e
18475 changed files with 3309357 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net_HTTPRequest
#define INCLUDED_lime_net_HTTPRequest
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_lime_net__HTTPRequest_AbstractHTTPRequest
#include <lime/net/_HTTPRequest/AbstractHTTPRequest.h>
#endif
HX_DECLARE_CLASS2(lime,net,HTTPRequest)
HX_DECLARE_CLASS3(lime,net,_HTTPRequest,AbstractHTTPRequest)
HX_DECLARE_CLASS2(lime,net,_IHTTPRequest)
namespace lime{
namespace net{
class HXCPP_CLASS_ATTRIBUTES HTTPRequest_obj : public ::lime::net::_HTTPRequest::AbstractHTTPRequest_obj
{
public:
typedef ::lime::net::_HTTPRequest::AbstractHTTPRequest_obj super;
typedef HTTPRequest_obj OBJ_;
HTTPRequest_obj();
public:
enum { _hx_ClassId = 0x6483967f };
void __construct(::String uri);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net.HTTPRequest")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net.HTTPRequest"); }
static hx::ObjectPtr< HTTPRequest_obj > __new(::String uri);
static hx::ObjectPtr< HTTPRequest_obj > __alloc(hx::Ctx *_hx_ctx,::String uri);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~HTTPRequest_obj();
HX_DO_RTTI_ALL;
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("HTTPRequest",a7,a4,cd,7f); }
};
} // end namespace lime
} // end namespace net
#endif /* INCLUDED_lime_net_HTTPRequest */

View File

@@ -0,0 +1,74 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net_HTTPRequestHeader
#define INCLUDED_lime_net_HTTPRequestHeader
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_STACK_FRAME(_hx_pos_27fdfe9151c47db1_13_new)
HX_DECLARE_CLASS2(lime,net,HTTPRequestHeader)
namespace lime{
namespace net{
class HXCPP_CLASS_ATTRIBUTES HTTPRequestHeader_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef HTTPRequestHeader_obj OBJ_;
HTTPRequestHeader_obj();
public:
enum { _hx_ClassId = 0x2dc89a34 };
void __construct(::String name,::String __o_value);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net.HTTPRequestHeader")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net.HTTPRequestHeader"); }
inline static hx::ObjectPtr< HTTPRequestHeader_obj > __new(::String name,::String __o_value) {
hx::ObjectPtr< HTTPRequestHeader_obj > __this = new HTTPRequestHeader_obj();
__this->__construct(name,__o_value);
return __this;
}
inline static hx::ObjectPtr< HTTPRequestHeader_obj > __alloc(hx::Ctx *_hx_ctx,::String name,::String __o_value) {
HTTPRequestHeader_obj *__this = (HTTPRequestHeader_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(HTTPRequestHeader_obj), true, "lime.net.HTTPRequestHeader"));
*(void **)__this = HTTPRequestHeader_obj::_hx_vtable;
{
::String value = __o_value;
if (hx::IsNull(__o_value)) value = HX_("",00,00,00,00);
HX_STACKFRAME(&_hx_pos_27fdfe9151c47db1_13_new)
HXLINE( 14) ( ( ::lime::net::HTTPRequestHeader)(__this) )->name = name;
HXLINE( 15) ( ( ::lime::net::HTTPRequestHeader)(__this) )->value = value;
}
return __this;
}
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~HTTPRequestHeader_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("HTTPRequestHeader",94,99,b5,e9); }
::String name;
::String value;
};
} // end namespace lime
} // end namespace net
#endif /* INCLUDED_lime_net_HTTPRequestHeader */

View File

@@ -0,0 +1,86 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net__HTTPRequest_AbstractHTTPRequest
#define INCLUDED_lime_net__HTTPRequest_AbstractHTTPRequest
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_lime_net__IHTTPRequest
#include <lime/net/_IHTTPRequest.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,StringMap)
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS4(lime,_internal,backend,native,NativeHTTPRequest)
HX_DECLARE_CLASS2(lime,app,Future)
HX_DECLARE_CLASS2(lime,net,HTTPRequestHeader)
HX_DECLARE_CLASS3(lime,net,_HTTPRequest,AbstractHTTPRequest)
HX_DECLARE_CLASS2(lime,net,_IHTTPRequest)
namespace lime{
namespace net{
namespace _HTTPRequest{
class HXCPP_CLASS_ATTRIBUTES AbstractHTTPRequest_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef AbstractHTTPRequest_obj OBJ_;
AbstractHTTPRequest_obj();
public:
enum { _hx_ClassId = 0x618df855 };
void __construct(::String uri);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net._HTTPRequest.AbstractHTTPRequest")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net._HTTPRequest.AbstractHTTPRequest"); }
static hx::ObjectPtr< AbstractHTTPRequest_obj > __new(::String uri);
static hx::ObjectPtr< AbstractHTTPRequest_obj > __alloc(hx::Ctx *_hx_ctx,::String uri);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~AbstractHTTPRequest_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
void *_hx_getInterface(int inHash);
::String __ToString() const { return HX_("AbstractHTTPRequest",e5,22,a3,c7); }
::String contentType;
::haxe::io::Bytes data;
bool enableResponseHeaders;
bool followRedirects;
::haxe::ds::StringMap formData;
::Array< ::Dynamic> headers;
::String method;
::Dynamic responseData;
::Array< ::Dynamic> responseHeaders;
int responseStatus;
int timeout;
::String uri;
::String userAgent;
bool withCredentials;
::lime::_internal::backend::native::NativeHTTPRequest _hx___backend;
void cancel();
::Dynamic cancel_dyn();
virtual ::lime::app::Future load(::String uri);
::Dynamic load_dyn();
};
} // end namespace lime
} // end namespace net
} // end namespace _HTTPRequest
#endif /* INCLUDED_lime_net__HTTPRequest_AbstractHTTPRequest */

View File

@@ -0,0 +1,60 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net__HTTPRequest_Bytes
#define INCLUDED_lime_net__HTTPRequest_Bytes
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_lime_net__HTTPRequest_AbstractHTTPRequest
#include <lime/net/_HTTPRequest/AbstractHTTPRequest.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(lime,app,Future)
HX_DECLARE_CLASS3(lime,net,_HTTPRequest,AbstractHTTPRequest)
HX_DECLARE_CLASS2(lime,net,_HTTPRequest_Bytes)
HX_DECLARE_CLASS2(lime,net,_IHTTPRequest)
namespace lime{
namespace net{
class HXCPP_CLASS_ATTRIBUTES _HTTPRequest_Bytes_obj : public ::lime::net::_HTTPRequest::AbstractHTTPRequest_obj
{
public:
typedef ::lime::net::_HTTPRequest::AbstractHTTPRequest_obj super;
typedef _HTTPRequest_Bytes_obj OBJ_;
_HTTPRequest_Bytes_obj();
public:
enum { _hx_ClassId = 0x041f8278 };
void __construct(::String uri);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net._HTTPRequest_Bytes")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net._HTTPRequest_Bytes"); }
static hx::ObjectPtr< _HTTPRequest_Bytes_obj > __new(::String uri);
static hx::ObjectPtr< _HTTPRequest_Bytes_obj > __alloc(hx::Ctx *_hx_ctx,::String uri);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~_HTTPRequest_Bytes_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("_HTTPRequest_Bytes",34,80,e3,d7); }
virtual ::Dynamic fromBytes( ::haxe::io::Bytes bytes);
::Dynamic fromBytes_dyn();
::lime::app::Future load(::String uri);
};
} // end namespace lime
} // end namespace net
#endif /* INCLUDED_lime_net__HTTPRequest_Bytes */

View File

@@ -0,0 +1,56 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net__HTTPRequest_String
#define INCLUDED_lime_net__HTTPRequest_String
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_lime_net__HTTPRequest_AbstractHTTPRequest
#include <lime/net/_HTTPRequest/AbstractHTTPRequest.h>
#endif
HX_DECLARE_CLASS2(lime,app,Future)
HX_DECLARE_CLASS3(lime,net,_HTTPRequest,AbstractHTTPRequest)
HX_DECLARE_CLASS2(lime,net,_HTTPRequest_String)
HX_DECLARE_CLASS2(lime,net,_IHTTPRequest)
namespace lime{
namespace net{
class HXCPP_CLASS_ATTRIBUTES _HTTPRequest_String_obj : public ::lime::net::_HTTPRequest::AbstractHTTPRequest_obj
{
public:
typedef ::lime::net::_HTTPRequest::AbstractHTTPRequest_obj super;
typedef _HTTPRequest_String_obj OBJ_;
_HTTPRequest_String_obj();
public:
enum { _hx_ClassId = 0x5a2d0ac0 };
void __construct(::String uri);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net._HTTPRequest_String")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net._HTTPRequest_String"); }
static hx::ObjectPtr< _HTTPRequest_String_obj > __new(::String uri);
static hx::ObjectPtr< _HTTPRequest_String_obj > __alloc(hx::Ctx *_hx_ctx,::String uri);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~_HTTPRequest_String_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("_HTTPRequest_String",e8,80,ed,f8); }
::lime::app::Future load(::String uri);
};
} // end namespace lime
} // end namespace net
#endif /* INCLUDED_lime_net__HTTPRequest_String */

View File

@@ -0,0 +1,57 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net__HTTPRequest_lime_graphics_Image
#define INCLUDED_lime_net__HTTPRequest_lime_graphics_Image
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_lime_net__HTTPRequest_Bytes
#include <lime/net/_HTTPRequest_Bytes.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS3(lime,net,_HTTPRequest,AbstractHTTPRequest)
HX_DECLARE_CLASS2(lime,net,_HTTPRequest_Bytes)
HX_DECLARE_CLASS2(lime,net,_HTTPRequest_lime_graphics_Image)
HX_DECLARE_CLASS2(lime,net,_IHTTPRequest)
namespace lime{
namespace net{
class HXCPP_CLASS_ATTRIBUTES _HTTPRequest_lime_graphics_Image_obj : public ::lime::net::_HTTPRequest_Bytes_obj
{
public:
typedef ::lime::net::_HTTPRequest_Bytes_obj super;
typedef _HTTPRequest_lime_graphics_Image_obj OBJ_;
_HTTPRequest_lime_graphics_Image_obj();
public:
enum { _hx_ClassId = 0x39a54782 };
void __construct(::String uri);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net._HTTPRequest_lime_graphics_Image")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net._HTTPRequest_lime_graphics_Image"); }
static hx::ObjectPtr< _HTTPRequest_lime_graphics_Image_obj > __new(::String uri);
static hx::ObjectPtr< _HTTPRequest_lime_graphics_Image_obj > __alloc(hx::Ctx *_hx_ctx,::String uri);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~_HTTPRequest_lime_graphics_Image_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("_HTTPRequest_lime_graphics_Image",5a,18,68,b2); }
::Dynamic fromBytes( ::haxe::io::Bytes bytes);
};
} // end namespace lime
} // end namespace net
#endif /* INCLUDED_lime_net__HTTPRequest_lime_graphics_Image */

View File

@@ -0,0 +1,57 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net__HTTPRequest_lime_media_AudioBuffer
#define INCLUDED_lime_net__HTTPRequest_lime_media_AudioBuffer
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_lime_net__HTTPRequest_Bytes
#include <lime/net/_HTTPRequest_Bytes.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS3(lime,net,_HTTPRequest,AbstractHTTPRequest)
HX_DECLARE_CLASS2(lime,net,_HTTPRequest_Bytes)
HX_DECLARE_CLASS2(lime,net,_HTTPRequest_lime_media_AudioBuffer)
HX_DECLARE_CLASS2(lime,net,_IHTTPRequest)
namespace lime{
namespace net{
class HXCPP_CLASS_ATTRIBUTES _HTTPRequest_lime_media_AudioBuffer_obj : public ::lime::net::_HTTPRequest_Bytes_obj
{
public:
typedef ::lime::net::_HTTPRequest_Bytes_obj super;
typedef _HTTPRequest_lime_media_AudioBuffer_obj OBJ_;
_HTTPRequest_lime_media_AudioBuffer_obj();
public:
enum { _hx_ClassId = 0x6d096020 };
void __construct(::String uri);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net._HTTPRequest_lime_media_AudioBuffer")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net._HTTPRequest_lime_media_AudioBuffer"); }
static hx::ObjectPtr< _HTTPRequest_lime_media_AudioBuffer_obj > __new(::String uri);
static hx::ObjectPtr< _HTTPRequest_lime_media_AudioBuffer_obj > __alloc(hx::Ctx *_hx_ctx,::String uri);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~_HTTPRequest_lime_media_AudioBuffer_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("_HTTPRequest_lime_media_AudioBuffer",48,a6,ae,64); }
::Dynamic fromBytes( ::haxe::io::Bytes bytes);
};
} // end namespace lime
} // end namespace net
#endif /* INCLUDED_lime_net__HTTPRequest_lime_media_AudioBuffer */

View File

@@ -0,0 +1,57 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net__HTTPRequest_lime_text_Font
#define INCLUDED_lime_net__HTTPRequest_lime_text_Font
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_lime_net__HTTPRequest_Bytes
#include <lime/net/_HTTPRequest_Bytes.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS3(lime,net,_HTTPRequest,AbstractHTTPRequest)
HX_DECLARE_CLASS2(lime,net,_HTTPRequest_Bytes)
HX_DECLARE_CLASS2(lime,net,_HTTPRequest_lime_text_Font)
HX_DECLARE_CLASS2(lime,net,_IHTTPRequest)
namespace lime{
namespace net{
class HXCPP_CLASS_ATTRIBUTES _HTTPRequest_lime_text_Font_obj : public ::lime::net::_HTTPRequest_Bytes_obj
{
public:
typedef ::lime::net::_HTTPRequest_Bytes_obj super;
typedef _HTTPRequest_lime_text_Font_obj OBJ_;
_HTTPRequest_lime_text_Font_obj();
public:
enum { _hx_ClassId = 0x4d6820ae };
void __construct(::String uri);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net._HTTPRequest_lime_text_Font")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net._HTTPRequest_lime_text_Font"); }
static hx::ObjectPtr< _HTTPRequest_lime_text_Font_obj > __new(::String uri);
static hx::ObjectPtr< _HTTPRequest_lime_text_Font_obj > __alloc(hx::Ctx *_hx_ctx,::String uri);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~_HTTPRequest_lime_text_Font_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("_HTTPRequest_lime_text_Font",0e,18,92,88); }
::Dynamic fromBytes( ::haxe::io::Bytes bytes);
};
} // end namespace lime
} // end namespace net
#endif /* INCLUDED_lime_net__HTTPRequest_lime_text_Font */

View File

@@ -0,0 +1,57 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net__HTTPRequest_lime_utils_Bytes
#define INCLUDED_lime_net__HTTPRequest_lime_utils_Bytes
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_lime_net__HTTPRequest_Bytes
#include <lime/net/_HTTPRequest_Bytes.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS3(lime,net,_HTTPRequest,AbstractHTTPRequest)
HX_DECLARE_CLASS2(lime,net,_HTTPRequest_Bytes)
HX_DECLARE_CLASS2(lime,net,_HTTPRequest_lime_utils_Bytes)
HX_DECLARE_CLASS2(lime,net,_IHTTPRequest)
namespace lime{
namespace net{
class HXCPP_CLASS_ATTRIBUTES _HTTPRequest_lime_utils_Bytes_obj : public ::lime::net::_HTTPRequest_Bytes_obj
{
public:
typedef ::lime::net::_HTTPRequest_Bytes_obj super;
typedef _HTTPRequest_lime_utils_Bytes_obj OBJ_;
_HTTPRequest_lime_utils_Bytes_obj();
public:
enum { _hx_ClassId = 0x28bb9ba2 };
void __construct(::String uri);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net._HTTPRequest_lime_utils_Bytes")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net._HTTPRequest_lime_utils_Bytes"); }
static hx::ObjectPtr< _HTTPRequest_lime_utils_Bytes_obj > __new(::String uri);
static hx::ObjectPtr< _HTTPRequest_lime_utils_Bytes_obj > __alloc(hx::Ctx *_hx_ctx,::String uri);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~_HTTPRequest_lime_utils_Bytes_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("_HTTPRequest_lime_utils_Bytes",ca,53,ac,5f); }
::Dynamic fromBytes( ::haxe::io::Bytes bytes);
};
} // end namespace lime
} // end namespace net
#endif /* INCLUDED_lime_net__HTTPRequest_lime_utils_Bytes */

View File

@@ -0,0 +1,57 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net__HTTPRequest_openfl_utils_ByteArray
#define INCLUDED_lime_net__HTTPRequest_openfl_utils_ByteArray
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_lime_net__HTTPRequest_Bytes
#include <lime/net/_HTTPRequest_Bytes.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS3(lime,net,_HTTPRequest,AbstractHTTPRequest)
HX_DECLARE_CLASS2(lime,net,_HTTPRequest_Bytes)
HX_DECLARE_CLASS2(lime,net,_HTTPRequest_openfl_utils_ByteArray)
HX_DECLARE_CLASS2(lime,net,_IHTTPRequest)
namespace lime{
namespace net{
class HXCPP_CLASS_ATTRIBUTES _HTTPRequest_openfl_utils_ByteArray_obj : public ::lime::net::_HTTPRequest_Bytes_obj
{
public:
typedef ::lime::net::_HTTPRequest_Bytes_obj super;
typedef _HTTPRequest_openfl_utils_ByteArray_obj OBJ_;
_HTTPRequest_openfl_utils_ByteArray_obj();
public:
enum { _hx_ClassId = 0x7ec8a557 };
void __construct(::String uri);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net._HTTPRequest_openfl_utils_ByteArray")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net._HTTPRequest_openfl_utils_ByteArray"); }
static hx::ObjectPtr< _HTTPRequest_openfl_utils_ByteArray_obj > __new(::String uri);
static hx::ObjectPtr< _HTTPRequest_openfl_utils_ByteArray_obj > __alloc(hx::Ctx *_hx_ctx,::String uri);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~_HTTPRequest_openfl_utils_ByteArray_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static void __register();
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("_HTTPRequest_openfl_utils_ByteArray",8b,96,d1,ba); }
::Dynamic fromBytes( ::haxe::io::Bytes bytes);
};
} // end namespace lime
} // end namespace net
#endif /* INCLUDED_lime_net__HTTPRequest_openfl_utils_ByteArray */

View File

@@ -0,0 +1,33 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net__IHTTPRequest
#define INCLUDED_lime_net__IHTTPRequest
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,StringMap)
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(lime,net,HTTPRequestHeader)
HX_DECLARE_CLASS2(lime,net,_IHTTPRequest)
namespace lime{
namespace net{
class HXCPP_CLASS_ATTRIBUTES _IHTTPRequest_obj {
public:
typedef hx::Object super;
HX_DO_INTERFACE_RTTI;
void (hx::Object :: *_hx_cancel)();
static inline void cancel( ::Dynamic _hx_) {
(_hx_.mPtr->*( hx::interface_cast< ::lime::net::_IHTTPRequest_obj *>(_hx_.mPtr->_hx_getInterface(0x154a91b5)))->_hx_cancel)();
}
};
} // end namespace lime
} // end namespace net
#endif /* INCLUDED_lime_net__IHTTPRequest */

View File

@@ -0,0 +1,111 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net_curl_CURL
#define INCLUDED_lime_net_curl_CURL
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS3(lime,net,curl,CURL)
namespace lime{
namespace net{
namespace curl{
class HXCPP_CLASS_ATTRIBUTES CURL_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef CURL_obj OBJ_;
CURL_obj();
public:
enum { _hx_ClassId = 0x3859fac0 };
void __construct( ::Dynamic handle);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net.curl.CURL")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net.curl.CURL"); }
static hx::ObjectPtr< CURL_obj > __new( ::Dynamic handle);
static hx::ObjectPtr< CURL_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic handle);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~CURL_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
static bool __GetStatic(const ::String &inString, Dynamic &outValue, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("CURL",ec,12,8a,2c); }
static void __boot();
static int GLOBAL_SSL;
static int GLOBAL_WIN32;
static int GLOBAL_ALL;
static int GLOBAL_NOTHING;
static int GLOBAL_DEFAULT;
static int GLOBAL_ACK_EINTR;
static int getDate(::String date,int now);
static ::Dynamic getDate_dyn();
static void globalCleanup();
static ::Dynamic globalCleanup_dyn();
static int globalInit(int flags);
static ::Dynamic globalInit_dyn();
static ::String strerror(int code);
static ::Dynamic strerror_dyn();
static ::String version();
static ::Dynamic version_dyn();
static ::Dynamic versionInfo(int type);
static ::Dynamic versionInfo_dyn();
::Dynamic handle;
::haxe::io::Bytes headerBytes;
::haxe::io::Bytes writeBytes;
void cleanup();
::Dynamic cleanup_dyn();
::lime::net::curl::CURL clone();
::Dynamic clone_dyn();
::String escape(::String url,int length);
::Dynamic escape_dyn();
::Dynamic getInfo(int info);
::Dynamic getInfo_dyn();
int pause(int bitMask);
::Dynamic pause_dyn();
int perform();
::Dynamic perform_dyn();
void reset();
::Dynamic reset_dyn();
int setOption(int option, ::Dynamic parameter);
::Dynamic setOption_dyn();
::String unescape(::String url,int inLength,int outLength);
::Dynamic unescape_dyn();
};
} // end namespace lime
} // end namespace net
} // end namespace curl
#endif /* INCLUDED_lime_net_curl_CURL */

View File

@@ -0,0 +1,78 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net_curl_CURLMulti
#define INCLUDED_lime_net_curl_CURLMulti
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(lime,net,curl,CURL)
HX_DECLARE_CLASS3(lime,net,curl,CURLMulti)
HX_DECLARE_CLASS3(lime,net,curl,CURLMultiMessage)
namespace lime{
namespace net{
namespace curl{
class HXCPP_CLASS_ATTRIBUTES CURLMulti_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef CURLMulti_obj OBJ_;
CURLMulti_obj();
public:
enum { _hx_ClassId = 0x0631cfc5 };
void __construct( ::Dynamic handle);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net.curl.CURLMulti")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net.curl.CURLMulti"); }
static hx::ObjectPtr< CURLMulti_obj > __new( ::Dynamic handle);
static hx::ObjectPtr< CURLMulti_obj > __alloc(hx::Ctx *_hx_ctx, ::Dynamic handle);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~CURLMulti_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("CURLMulti",ed,cf,70,8b); }
::Dynamic handle;
int addHandle( ::lime::net::curl::CURL curl);
::Dynamic addHandle_dyn();
::lime::net::curl::CURLMultiMessage infoRead();
::Dynamic infoRead_dyn();
int perform();
::Dynamic perform_dyn();
int removeHandle( ::lime::net::curl::CURL curl);
::Dynamic removeHandle_dyn();
int setOption(int option, ::Dynamic parameter);
::Dynamic setOption_dyn();
int wait(int timeoutMS);
::Dynamic wait_dyn();
int get_runningHandles();
::Dynamic get_runningHandles_dyn();
};
} // end namespace lime
} // end namespace net
} // end namespace curl
#endif /* INCLUDED_lime_net_curl_CURLMulti */

View File

@@ -0,0 +1,57 @@
// Generated by Haxe 4.0.5
#ifndef INCLUDED_lime_net_curl_CURLMultiMessage
#define INCLUDED_lime_net_curl_CURLMultiMessage
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(lime,net,curl,CURL)
HX_DECLARE_CLASS3(lime,net,curl,CURLMultiMessage)
namespace lime{
namespace net{
namespace curl{
class HXCPP_CLASS_ATTRIBUTES CURLMultiMessage_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef CURLMultiMessage_obj OBJ_;
CURLMultiMessage_obj();
public:
enum { _hx_ClassId = 0x62e36b2e };
void __construct( ::lime::net::curl::CURL curl,int result);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.net.curl.CURLMultiMessage")
{ return hx::Object::operator new(inSize,inContainer,inName); }
inline void *operator new(size_t inSize, int extra)
{ return hx::Object::operator new(inSize+extra,true,"lime.net.curl.CURLMultiMessage"); }
static hx::ObjectPtr< CURLMultiMessage_obj > __new( ::lime::net::curl::CURL curl,int result);
static hx::ObjectPtr< CURLMultiMessage_obj > __alloc(hx::Ctx *_hx_ctx, ::lime::net::curl::CURL curl,int result);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(hx::DynamicArray inArgs);
//~CURLMultiMessage_obj();
HX_DO_RTTI_ALL;
hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
void __GetFields(Array< ::String> &outFields);
static void __register();
void __Mark(HX_MARK_PARAMS);
void __Visit(HX_VISIT_PARAMS);
bool _hx_isInstanceOf(int inClassId);
::String __ToString() const { return HX_("CURLMultiMessage",5a,15,ed,e7); }
::lime::net::curl::CURL curl;
int result;
};
} // end namespace lime
} // end namespace net
} // end namespace curl
#endif /* INCLUDED_lime_net_curl_CURLMultiMessage */