Location:
msvapi.h
Link against: msgs.lib
MMsvEntryObserver
Supported from 5.0
Provides the interface for notification of events associated with an entry. The types of event are given in the enumeration TMsvEntryEvent. Clients can provide an object that implements the interface, and set it to be notified through CMsvEntry::AddObserverL().
Defined in MMsvEntryObserver:
EMsvChildrenChanged, EMsvChildrenInvalid, EMsvChildrenMissing, EMsvContextInvalid, EMsvDeletedChildren, EMsvEntryChanged, EMsvEntryDeleted, EMsvEntryMoved, EMsvNewChildren, EMsvStoreCommitted, EMsvStoreCreated, EMsvStoreDeleted, HandleEntryEvent(), HandleEntryEventL(), TMsvEntryEvent
virtual void HandleEntryEvent(TMsvEntryEvent aEvent, TAny* aArg1, TAny* aArg2, TAny* aArg3)=0;
Withdrawn in 5.1
Indicates when called by a CMsvEntry object that an event has occurred — non-leaving. The type of event is indicated by the value of aEvent. The interpretation of the aArg1-3 values depends on this type.
For most event types, the action that is taken, for example, updating the display, is client-specific. Most clients will need to handle events that make the current context invalid: EMsvContextInvalid and EMsvEntryDeleted.
|
virtual void HandleEntryEventL(TMsvEntryEvent aEvent, TAny* aArg1, TAny* aArg2, TAny* aArg3)=0;
Supported from 5.1
Indicates when called by a CMsvEntry object that an event has occurred—can leave. The type of event is indicated by the value of aEvent. The interpretation of the aArg1-3 values depends on this type.
For most event types, the action that is taken, for example, updating the display, is client-specific. Most clients will need to handle events that make the current context invalid: EMsvContextInvalid and EMsvEntryDeleted.
An implementation can leave if an error occurs.
|
TMsvEntryEvent
Defines entry event types.
|