git » swiftpm » main » tree

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

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

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

HX_DECLARE_CLASS1(borogove,Caps)
HX_DECLARE_CLASS1(borogove,Chat)
HX_DECLARE_CLASS1(borogove,ChatMessage)
HX_DECLARE_CLASS1(borogove,Persistence)
HX_DECLARE_CLASS1(borogove,ReactionUpdate)
HX_DECLARE_CLASS1(thenshim,Thenable)

namespace borogove{


class HXCPP_CLASS_ATTRIBUTES Persistence_obj {
	public:
		typedef ::hx::Object super;
		HX_DO_INTERFACE_RTTI;

		static void __boot();
		::Dynamic (::hx::Object :: *_hx_lastId)(::String accountId,::String chatId); 
		static inline ::Dynamic lastId( ::Dynamic _hx_,::String accountId,::String chatId) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_lastId)(accountId,chatId);
		}
		void (::hx::Object :: *_hx_storeChats)(::String accountId,::Array< ::Dynamic> chats); 
		static inline void storeChats( ::Dynamic _hx_,::String accountId,::Array< ::Dynamic> chats) {
			(_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_storeChats)(accountId,chats);
		}
		::Dynamic (::hx::Object :: *_hx_getChats)(::String accountId); 
		static inline ::Dynamic getChats( ::Dynamic _hx_,::String accountId) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_getChats)(accountId);
		}
		::Dynamic (::hx::Object :: *_hx_getChatsUnreadDetails)(::String accountId,::Array< ::Dynamic> chats); 
		static inline ::Dynamic getChatsUnreadDetails( ::Dynamic _hx_,::String accountId,::Array< ::Dynamic> chats) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_getChatsUnreadDetails)(accountId,chats);
		}
		::Dynamic (::hx::Object :: *_hx_storeReaction)(::String accountId, ::borogove::ReactionUpdate update); 
		static inline ::Dynamic storeReaction( ::Dynamic _hx_,::String accountId, ::borogove::ReactionUpdate update) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_storeReaction)(accountId,update);
		}
		::Dynamic (::hx::Object :: *_hx_storeMessages)(::String accountId,::Array< ::Dynamic> message); 
		static inline ::Dynamic storeMessages( ::Dynamic _hx_,::String accountId,::Array< ::Dynamic> message) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_storeMessages)(accountId,message);
		}
		void (::hx::Object :: *_hx_updateMessage)(::String accountId, ::borogove::ChatMessage message); 
		static inline void updateMessage( ::Dynamic _hx_,::String accountId, ::borogove::ChatMessage message) {
			(_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_updateMessage)(accountId,message);
		}
		::Dynamic (::hx::Object :: *_hx_updateMessageStatus)(::String accountId,::String localId,int status,::String statusText); 
		static inline ::Dynamic updateMessageStatus( ::Dynamic _hx_,::String accountId,::String localId,int status,::String statusText) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_updateMessageStatus)(accountId,localId,status,statusText);
		}
		::Dynamic (::hx::Object :: *_hx_getMessage)(::String accountId,::String chatId,::String serverId,::String localId); 
		static inline ::Dynamic getMessage( ::Dynamic _hx_,::String accountId,::String chatId,::String serverId,::String localId) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_getMessage)(accountId,chatId,serverId,localId);
		}
		::Dynamic (::hx::Object :: *_hx_getMessagesBefore)(::String accountId,::String chatId,::String beforeId,::String beforeTime); 
		static inline ::Dynamic getMessagesBefore( ::Dynamic _hx_,::String accountId,::String chatId,::String beforeId,::String beforeTime) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_getMessagesBefore)(accountId,chatId,beforeId,beforeTime);
		}
		::Dynamic (::hx::Object :: *_hx_getMessagesAfter)(::String accountId,::String chatId,::String afterId,::String afterTime); 
		static inline ::Dynamic getMessagesAfter( ::Dynamic _hx_,::String accountId,::String chatId,::String afterId,::String afterTime) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_getMessagesAfter)(accountId,chatId,afterId,afterTime);
		}
		::Dynamic (::hx::Object :: *_hx_getMessagesAround)(::String accountId,::String chatId,::String aroundId,::String aroundTime); 
		static inline ::Dynamic getMessagesAround( ::Dynamic _hx_,::String accountId,::String chatId,::String aroundId,::String aroundTime) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_getMessagesAround)(accountId,chatId,aroundId,aroundTime);
		}
		::Dynamic (::hx::Object :: *_hx_hasMedia)(::String hashAlgorithm,::Array< unsigned char > hash); 
		static inline ::Dynamic hasMedia( ::Dynamic _hx_,::String hashAlgorithm,::Array< unsigned char > hash) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_hasMedia)(hashAlgorithm,hash);
		}
		::Dynamic (::hx::Object :: *_hx_storeMedia)(::String mime,::Array< unsigned char > bytes); 
		static inline ::Dynamic storeMedia( ::Dynamic _hx_,::String mime,::Array< unsigned char > bytes) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_storeMedia)(mime,bytes);
		}
		void (::hx::Object :: *_hx_removeMedia)(::String hashAlgorithm,::Array< unsigned char > hash); 
		static inline void removeMedia( ::Dynamic _hx_,::String hashAlgorithm,::Array< unsigned char > hash) {
			(_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_removeMedia)(hashAlgorithm,hash);
		}
		void (::hx::Object :: *_hx_storeCaps)( ::borogove::Caps caps); 
		static inline void storeCaps( ::Dynamic _hx_, ::borogove::Caps caps) {
			(_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_storeCaps)(caps);
		}
		::Dynamic (::hx::Object :: *_hx_getCaps)(::String ver); 
		static inline ::Dynamic getCaps( ::Dynamic _hx_,::String ver) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_getCaps)(ver);
		}
		void (::hx::Object :: *_hx_storeLogin)(::String login,::String clientId,::String displayName,::String token); 
		static inline void storeLogin( ::Dynamic _hx_,::String login,::String clientId,::String displayName,::String token) {
			(_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_storeLogin)(login,clientId,displayName,token);
		}
		::Dynamic (::hx::Object :: *_hx_getLogin)(::String login); 
		static inline ::Dynamic getLogin( ::Dynamic _hx_,::String login) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_getLogin)(login);
		}
		void (::hx::Object :: *_hx_removeAccount)(::String accountId,bool completely); 
		static inline void removeAccount( ::Dynamic _hx_,::String accountId,bool completely) {
			(_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_removeAccount)(accountId,completely);
		}
		::Dynamic (::hx::Object :: *_hx_listAccounts)(); 
		static inline ::Dynamic listAccounts( ::Dynamic _hx_) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_listAccounts)();
		}
		void (::hx::Object :: *_hx_storeStreamManagement)(::String accountId,::Array< unsigned char > data); 
		static inline void storeStreamManagement( ::Dynamic _hx_,::String accountId,::Array< unsigned char > data) {
			(_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_storeStreamManagement)(accountId,data);
		}
		::Dynamic (::hx::Object :: *_hx_getStreamManagement)(::String accountId); 
		static inline ::Dynamic getStreamManagement( ::Dynamic _hx_,::String accountId) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_getStreamManagement)(accountId);
		}
		void (::hx::Object :: *_hx_storeService)(::String accountId,::String serviceId,::String name,::String node, ::borogove::Caps caps); 
		static inline void storeService( ::Dynamic _hx_,::String accountId,::String serviceId,::String name,::String node, ::borogove::Caps caps) {
			(_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_storeService)(accountId,serviceId,name,node,caps);
		}
		::Dynamic (::hx::Object :: *_hx_findServicesWithFeature)(::String accountId,::String feature); 
		static inline ::Dynamic findServicesWithFeature( ::Dynamic _hx_,::String accountId,::String feature) {
			return (_hx_.mPtr->*( ::hx::interface_cast< ::borogove::Persistence_obj *>(_hx_.mPtr->_hx_getInterface(0xb8b304be)))->_hx_findServicesWithFeature)(accountId,feature);
		}
};

} // end namespace borogove

#endif /* INCLUDED_borogove_Persistence */