|
||
class MContactViewObserver;
The interface for a contact view observer.
Objects that need to observe a contact view should implement this interface. The view observer should be passed to the observed view's OpenL() or Open() function. This adds the observer to the view's observer array: a view can have more than one observer. The observers receive notifications when the observed view becomes ready for use and when changes occur in it.
Many contact view classes implement this interface to observe an underlying view. They in turn send notification to any objects observing them.
Defined in MContactViewObserver
:
HandleContactViewEvent()
Handles an event in an observed contact viewCContactViewBase::NotifyObservers()
Called by derived view classes to notify their observers synchronously of an event, by calling their HandleContactViewEvent()
functionCContactViewBase::NotifyObserverAsync()
Called to notify a single view observer asynchronously of an eventvirtual void HandleContactViewEvent(const CContactViewBase &aView, const TContactViewEvent &aEvent)=0;
Handles an event in an observed contact view.
|