git » swiftpm » main » tree

[main] / Sources / c_snikket / iinclude / snikket / Message.h

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

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

HX_DECLARE_CLASS1(snikket,ChatMessageBuilder)
HX_DECLARE_CLASS1(snikket,JID)
HX_DECLARE_CLASS1(snikket,Message)
HX_DECLARE_CLASS1(snikket,MessageStanza)
HX_DECLARE_CLASS1(snikket,Stanza)
HX_DECLARE_CLASS2(snikket,_Stanza,NodeInterface)

namespace snikket{


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

	public:
		enum { _hx_ClassId = 0x7c0c6d2e };

		void __construct(::String chatId,::String senderId,::String threadId, ::snikket::MessageStanza parsed);
		inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="snikket.Message")
			{ 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,"snikket.Message"); }
		static ::hx::ObjectPtr< Message_obj > __new(::String chatId,::String senderId,::String threadId, ::snikket::MessageStanza parsed);
		static ::hx::ObjectPtr< Message_obj > __alloc(::hx::Ctx *_hx_ctx,::String chatId,::String senderId,::String threadId, ::snikket::MessageStanza parsed);
		static void * _hx_vtable;
		static Dynamic __CreateEmpty();
		static Dynamic __Create(::hx::DynamicArray inArgs);
		//~Message_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_("Message",a7,5d,62,67); }

		static  ::snikket::Message fromStanza( ::snikket::Stanza stanza, ::snikket::JID localJid, ::Dynamic addContext);
		static ::Dynamic fromStanza_dyn();

		::String chatId;
		::String senderId;
		::String threadId;
		 ::snikket::MessageStanza parsed;
};

} // end namespace snikket

#endif /* INCLUDED_snikket_Message */