// Generated by Haxe 4.3.3
#ifndef INCLUDED_borogove_MessageSync
#define INCLUDED_borogove_MessageSync
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(borogove,ChatMessageBuilder)
HX_DECLARE_CLASS1(borogove,Client)
HX_DECLARE_CLASS1(borogove,EventEmitter)
HX_DECLARE_CLASS1(borogove,GenericStream)
HX_DECLARE_CLASS1(borogove,MessageSync)
HX_DECLARE_CLASS1(borogove,Stanza)
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,StringMap)
namespace borogove{
class HXCPP_CLASS_ATTRIBUTES MessageSync_obj : public ::hx::Object
{
public:
typedef ::hx::Object super;
typedef MessageSync_obj OBJ_;
MessageSync_obj();
public:
enum { _hx_ClassId = 0x0e3ada7d };
void __construct( ::borogove::Client client, ::borogove::GenericStream stream, ::Dynamic filter,::String serviceJID);
inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="borogove.MessageSync")
{ 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,"borogove.MessageSync"); }
static ::hx::ObjectPtr< MessageSync_obj > __new( ::borogove::Client client, ::borogove::GenericStream stream, ::Dynamic filter,::String serviceJID);
static ::hx::ObjectPtr< MessageSync_obj > __alloc(::hx::Ctx *_hx_ctx, ::borogove::Client client, ::borogove::GenericStream stream, ::Dynamic filter,::String serviceJID);
static void * _hx_vtable;
static Dynamic __CreateEmpty();
static Dynamic __Create(::hx::DynamicArray inArgs);
//~MessageSync_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_("MessageSync",a2,a3,78,63); }
::borogove::Client client;
::borogove::GenericStream stream;
::Dynamic filter;
::String serviceJID;
::Dynamic handler;
Dynamic handler_dyn() { return handler;}
::Dynamic contextHandler;
Dynamic contextHandler_dyn() { return contextHandler;}
::Dynamic errorHandler;
Dynamic errorHandler_dyn() { return errorHandler;}
::Dynamic lastPage;
int progress;
bool complete;
bool newestPageFirst;
::haxe::ds::StringMap jmi;
void fetchNext();
::Dynamic fetchNext_dyn();
bool hasMore();
::Dynamic hasMore_dyn();
void addContext( ::Dynamic handler);
::Dynamic addContext_dyn();
void onMessages( ::Dynamic handler);
::Dynamic onMessages_dyn();
void onError( ::Dynamic handler);
::Dynamic onError_dyn();
void setNewestPageFirst(bool newestPageFirst);
::Dynamic setNewestPageFirst_dyn();
};
} // end namespace borogove
#endif /* INCLUDED_borogove_MessageSync */