75 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			75 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
// Generated by Haxe 4.0.5
 | 
						|
#ifndef INCLUDED_lime_app_Promise
 | 
						|
#define INCLUDED_lime_app_Promise
 | 
						|
 | 
						|
#ifndef HXCPP_H
 | 
						|
#include <hxcpp.h>
 | 
						|
#endif
 | 
						|
 | 
						|
HX_DECLARE_CLASS2(lime,app,Future)
 | 
						|
HX_DECLARE_CLASS2(lime,app,Promise)
 | 
						|
 | 
						|
namespace lime{
 | 
						|
namespace app{
 | 
						|
 | 
						|
 | 
						|
class HXCPP_CLASS_ATTRIBUTES Promise_obj : public hx::Object
 | 
						|
{
 | 
						|
	public:
 | 
						|
		typedef hx::Object super;
 | 
						|
		typedef Promise_obj OBJ_;
 | 
						|
		Promise_obj();
 | 
						|
 | 
						|
	public:
 | 
						|
		enum { _hx_ClassId = 0x7a57dccf };
 | 
						|
 | 
						|
		void __construct();
 | 
						|
		inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="lime.app.Promise")
 | 
						|
			{ 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.app.Promise"); }
 | 
						|
		static hx::ObjectPtr< Promise_obj > __new();
 | 
						|
		static hx::ObjectPtr< Promise_obj > __alloc(hx::Ctx *_hx_ctx);
 | 
						|
		static void * _hx_vtable;
 | 
						|
		static Dynamic __CreateEmpty();
 | 
						|
		static Dynamic __Create(hx::DynamicArray inArgs);
 | 
						|
		//~Promise_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_("Promise",7b,f5,3a,c5); }
 | 
						|
 | 
						|
		 ::lime::app::Future future;
 | 
						|
		bool isComplete;
 | 
						|
		bool isError;
 | 
						|
		 ::lime::app::Promise complete( ::Dynamic data);
 | 
						|
		::Dynamic complete_dyn();
 | 
						|
 | 
						|
		 ::lime::app::Promise completeWith( ::lime::app::Future future);
 | 
						|
		::Dynamic completeWith_dyn();
 | 
						|
 | 
						|
		 ::lime::app::Promise error( ::Dynamic msg);
 | 
						|
		::Dynamic error_dyn();
 | 
						|
 | 
						|
		 ::lime::app::Promise progress(int progress,int total);
 | 
						|
		::Dynamic progress_dyn();
 | 
						|
 | 
						|
		bool get_isComplete();
 | 
						|
		::Dynamic get_isComplete_dyn();
 | 
						|
 | 
						|
		bool get_isError();
 | 
						|
		::Dynamic get_isError_dyn();
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
} // end namespace lime
 | 
						|
} // end namespace app
 | 
						|
 | 
						|
#endif /* INCLUDED_lime_app_Promise */ 
 |