MPbk2StartupMonitor Class Reference
class MPbk2StartupMonitor |
Phonebook 2 start-up monitor interface. Offers a possibility to get a start-up complete event.
Constructor & Destructor Documentation
~MPbk2StartupMonitor()
~MPbk2StartupMonitor | ( | ) | [protected, inline, virtual] |
Member Functions Documentation
DeregisterEvents(MPbk2StartupObserver &)
Removes an observer from the monitor. Does nothing the if observer does not exist.
HandleStartupComplete()
void | HandleStartupComplete | ( | ) | [pure virtual] |
Extensions that are loaded in start-up must call this after their own start-up routines have been done.
HandleStartupFailed(TInt)
void | HandleStartupFailed | ( | TInt | aError | ) | [pure virtual] |
Called if there is an error during the start-up.
NotifyViewActivationL(TUid)
void | NotifyViewActivationL | ( | TUid | aViewId | ) | [pure virtual] |
Notify the startup monitor of an application view launch. The monitor will be activated only for the first application view but the client doesn't need to worry about that.
Must be called from the application view's DoActivateL if the view can be directly launched from other process (e.g. using CPbkViewState or CPbk2ViewState).
Uses AllContactsViewL for waiting. If you have some other view then use the specialised version.
Parameters
TUid aViewId | Id of the launched view. |
NotifyViewActivationL(TUid, MVPbkContactViewBase &)
Notify the startup monitor of an application view launch. The monitor will be activated only for the first application view but the client doesn't need to worry about that.
Must be called from the application view's DoActivateL if the view can be directly launched from other process (e.g. using CPbkViewState or CPbk2ViewState).
Uses given contact view for waiting.
Parameters
TUid aViewId | Id of the launched view. |
MVPbkContactViewBase & aContactView | The view that will be waited by the monitor. The monitor saves the reference of aContactView until it gets it's job done. The application view must call NotifyViewDeActivation in DoDeactivate to reset the aContactView reference. |
RegisterEventsL(MPbk2StartupObserver &)
Adds a new observer for the start-up process. Duplicate observers are not added.
StartupMonitorExtension(TUid)
TAny * | StartupMonitorExtension | ( | TUid | | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.