// AddEventListener adds an event listener to the event dispatcher.
AddEventListener adds an event listener to the event dispatcher.
// AddEventListener adds an event listener to the event dispatcher .
func (event_dispatcher *EventDispatcher_struct) AddEventListener( event_listener EventListener_struct ) (return_report error_report.ErrorReport_struct){
	event_dispatcher.mutex.Lock();
	event_dispatcher.event_listeners_slice = append(event_dispatcher.event_listeners_slice, event_listener);
	return_report = error_report.New( 0, map[string]interface{}{ "event_listeners_slice_length": len(event_dispatcher.event_listeners_slice) }, nil );
	event_dispatcher.mutex.Unlock();
	return return_report;
}
func ( event_dispatcher * EventDispatcher_struct ) AddEventListener ( event_listener EventListener_struct ) ( return_report error_report . ErrorReport_struct ) { event_dispatcher . mutex . Lock ( ) ; event_dispatcher . event_listeners_slice = append ( event_dispatcher . event_listeners_slice , event_listener ) ; return_report = error_report . New ( 0 , map [ string ] interface { } { " " : len ( event_dispatcher . event_listeners_slice ) } , nil ) ; event_dispatcher . mutex . Unlock ( ) ; return return_report ; }
AddEventListener adds an event listener to the event dispatcher.
AddEventListener adds an event listener to the event dispatcher .
/* Variables */ /* Parametres */ /* Function */ /* Return */