class MPbk2StartupMonitor |
Phonebook 2 start-up monitor interface. Offers a possibility to get a start-up complete event.
Public Member Functions | |
---|---|
void | DeregisterEvents ( MPbk2StartupObserver &) |
void | HandleStartupComplete () |
void | HandleStartupFailed ( TInt ) |
void | NotifyViewActivationL ( TUid ) |
void | NotifyViewActivationL ( TUid , MVPbkContactViewBase &) |
void | RegisterEventsL ( MPbk2StartupObserver &) |
TAny * | StartupMonitorExtension ( TUid ) |
Protected Member Functions | |
---|---|
~MPbk2StartupMonitor () |
void | DeregisterEvents | ( | MPbk2StartupObserver & | aObserver | ) | [pure virtual] |
Removes an observer from the monitor. Does nothing the if observer does not exist.
MPbk2StartupObserver & aObserver | An observer to be removed. |
void | HandleStartupComplete | ( | ) | [pure virtual] |
Extensions that are loaded in start-up must call this after their own start-up routines have been done.
void | HandleStartupFailed | ( | TInt | aError | ) | [pure virtual] |
Called if there is an error during the start-up.
TInt aError | Error code. |
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.
TUid aViewId | Id of the launched view. |
void | NotifyViewActivationL | ( | TUid | aViewId, |
MVPbkContactViewBase & | aContactView | |||
) | [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 given contact view for waiting.
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. |
void | RegisterEventsL | ( | MPbk2StartupObserver & | aObserver | ) | [pure virtual] |
Adds a new observer for the start-up process. Duplicate observers are not added.
MPbk2StartupObserver & aObserver | New observer for the start-up process. |
TAny * | StartupMonitorExtension | ( | TUid | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
TUid |
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.