git » swiftpm » main » tree

[main] / Sources / c_borogove / iinclude / borogove / MemberUpdate.h

// Generated by Haxe 4.3.3
#ifndef INCLUDED_borogove_MemberUpdate
#define INCLUDED_borogove_MemberUpdate

#ifndef HXCPP_H
#include <hxcpp.h>
#endif

HX_DECLARE_CLASS1(borogove,Chat)
HX_DECLARE_CLASS1(borogove,EventEmitter)
HX_DECLARE_CLASS1(borogove,JID)
HX_DECLARE_CLASS1(borogove,Member)
HX_DECLARE_CLASS1(borogove,MemberUpdate)
HX_DECLARE_CLASS1(borogove,Role)
HX_DECLARE_CLASS1(borogove,Stanza)
HX_DECLARE_CLASS1(haxe,IMap)
HX_DECLARE_CLASS2(haxe,ds,StringMap)

namespace borogove{


class HXCPP_CLASS_ATTRIBUTES MemberUpdate_obj : public ::hx::Object
{
	public:
		typedef ::hx::Object super;
		typedef MemberUpdate_obj OBJ_;
		MemberUpdate_obj();

	public:
		enum { _hx_ClassId = 0x47de2484 };

		void __construct(::String id, ::borogove::JID jid,::String displayName,bool isSelf, ::borogove::Role affiliation, ::haxe::ds::StringMap presence);
		inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="borogove.MemberUpdate")
			{ 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.MemberUpdate"); }
		static ::hx::ObjectPtr< MemberUpdate_obj > __new(::String id, ::borogove::JID jid,::String displayName,bool isSelf, ::borogove::Role affiliation, ::haxe::ds::StringMap presence);
		static ::hx::ObjectPtr< MemberUpdate_obj > __alloc(::hx::Ctx *_hx_ctx,::String id, ::borogove::JID jid,::String displayName,bool isSelf, ::borogove::Role affiliation, ::haxe::ds::StringMap presence);
		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~MemberUpdate_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_("MemberUpdate",23,68,83,0f); }

		static ::Array< ::Dynamic> extractUpdates(::String accountId, ::borogove::Chat chat, ::borogove::Stanza stanza);
		static ::Dynamic extractUpdates_dyn();

		::String id;
		 ::borogove::JID jid;
		::String displayName;
		bool isSelf;
		 ::borogove::Role affiliation;
		 ::haxe::ds::StringMap presence;
		 ::Dynamic applyTo( ::borogove::Member member);
		::Dynamic applyTo_dyn();

};

} // end namespace borogove

#endif /* INCLUDED_borogove_MemberUpdate */