47 lines
2.3 KiB
C++
47 lines
2.3 KiB
C++
// Generated by Haxe 4.0.5
|
|
#ifndef INCLUDED_openfl_events_IEventDispatcher
|
|
#define INCLUDED_openfl_events_IEventDispatcher
|
|
|
|
#ifndef HXCPP_H
|
|
#include <hxcpp.h>
|
|
#endif
|
|
|
|
HX_DECLARE_CLASS2(openfl,events,Event)
|
|
HX_DECLARE_CLASS2(openfl,events,IEventDispatcher)
|
|
|
|
namespace openfl{
|
|
namespace events{
|
|
|
|
|
|
class HXCPP_CLASS_ATTRIBUTES IEventDispatcher_obj {
|
|
public:
|
|
typedef hx::Object super;
|
|
HX_DO_INTERFACE_RTTI;
|
|
|
|
void (hx::Object :: *_hx_addEventListener)(::String type, ::Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference);
|
|
static inline void addEventListener( ::Dynamic _hx_,::String type, ::Dynamic listener,hx::Null< bool > useCapture,hx::Null< int > priority,hx::Null< bool > useWeakReference) {
|
|
(_hx_.mPtr->*( hx::interface_cast< ::openfl::events::IEventDispatcher_obj *>(_hx_.mPtr->_hx_getInterface(0x87530281)))->_hx_addEventListener)(type,listener,useCapture,priority,useWeakReference);
|
|
}
|
|
bool (hx::Object :: *_hx_dispatchEvent)( ::openfl::events::Event event);
|
|
static inline bool dispatchEvent( ::Dynamic _hx_, ::openfl::events::Event event) {
|
|
return (_hx_.mPtr->*( hx::interface_cast< ::openfl::events::IEventDispatcher_obj *>(_hx_.mPtr->_hx_getInterface(0x87530281)))->_hx_dispatchEvent)(event);
|
|
}
|
|
bool (hx::Object :: *_hx_hasEventListener)(::String type);
|
|
static inline bool hasEventListener( ::Dynamic _hx_,::String type) {
|
|
return (_hx_.mPtr->*( hx::interface_cast< ::openfl::events::IEventDispatcher_obj *>(_hx_.mPtr->_hx_getInterface(0x87530281)))->_hx_hasEventListener)(type);
|
|
}
|
|
void (hx::Object :: *_hx_removeEventListener)(::String type, ::Dynamic listener,hx::Null< bool > useCapture);
|
|
static inline void removeEventListener( ::Dynamic _hx_,::String type, ::Dynamic listener,hx::Null< bool > useCapture) {
|
|
(_hx_.mPtr->*( hx::interface_cast< ::openfl::events::IEventDispatcher_obj *>(_hx_.mPtr->_hx_getInterface(0x87530281)))->_hx_removeEventListener)(type,listener,useCapture);
|
|
}
|
|
bool (hx::Object :: *_hx_willTrigger)(::String type);
|
|
static inline bool willTrigger( ::Dynamic _hx_,::String type) {
|
|
return (_hx_.mPtr->*( hx::interface_cast< ::openfl::events::IEventDispatcher_obj *>(_hx_.mPtr->_hx_getInterface(0x87530281)))->_hx_willTrigger)(type);
|
|
}
|
|
};
|
|
|
|
} // end namespace openfl
|
|
} // end namespace events
|
|
|
|
#endif /* INCLUDED_openfl_events_IEventDispatcher */
|