git » swiftpm » main » tree

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

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

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

HX_DECLARE_CLASS1(borogove,ChatMessageBuilder)
HX_DECLARE_CLASS1(borogove,EncryptionInfo)
HX_DECLARE_CLASS1(borogove,JID)
HX_DECLARE_CLASS1(borogove,Message)
HX_DECLARE_CLASS1(borogove,MessageStanza)
HX_DECLARE_CLASS1(borogove,Stanza)

namespace borogove{


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

	public:
		enum { _hx_ClassId = 0x7f796532 };

		void __construct(::String chatId,::String senderId,::String threadId, ::borogove::MessageStanza parsed, ::borogove::EncryptionInfo encryption);
		inline void *operator new(size_t inSize, bool inContainer=true,const char *inName="borogove.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,"borogove.Message"); }
		static ::hx::ObjectPtr< Message_obj > __new(::String chatId,::String senderId,::String threadId, ::borogove::MessageStanza parsed, ::borogove::EncryptionInfo encryption);
		static ::hx::ObjectPtr< Message_obj > __alloc(::hx::Ctx *_hx_ctx,::String chatId,::String senderId,::String threadId, ::borogove::MessageStanza parsed, ::borogove::EncryptionInfo encryption);
		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  ::borogove::Message fromStanza( ::borogove::Stanza stanza, ::borogove::JID localJid, ::Dynamic addContext, ::borogove::EncryptionInfo encryptionInfo);
		static ::Dynamic fromStanza_dyn();

		::String chatId;
		::String senderId;
		::String threadId;
		 ::borogove::EncryptionInfo encryption;
		 ::borogove::MessageStanza parsed;
};

} // end namespace borogove

#endif /* INCLUDED_borogove_Message */