extIEvents Interface Reference

import"extIApplication.idl";

Inheritance diagram for extIEvents:
[legend]
Collaboration diagram for extIEvents:
[legend]

Public Member Functions

void addListener (in AString aEvent, in extIEventListener aListener)
 
void removeListener (in AString aEvent, in extIEventListener aListener)
 

Detailed Description

Interface for supporting custom events.

Definition at line 113 of file extIApplication.idl.

Member Function Documentation

void extIEvents::addListener ( in AString  aEvent,
in extIEventListener  aListener 
)

Adds an event listener to the list. If multiple identical event listeners are registered on the same event target with the same parameters the duplicate instances are discarded. They do not cause the EventListener to be called twice and since they are discarded they do not need to be removed with the removeListener method.

Parameters
aEventThe name of an event
aListenerThe reference to a listener
void extIEvents::removeListener ( in AString  aEvent,
in extIEventListener  aListener 
)

Removes an event listener from the list. Calling remove with arguments which do not identify any currently registered event listener has no effect.

Parameters
aEventThe name of an event
aListenerThe reference to a listener

The documentation for this interface was generated from the following file: