API published in: S60 1st Ed
API deprecated in: S60 5th Ed
Link against: pbkview.lib
Required Capabilities
ReadUserData WriteUserData
#include <cpbkdatasaveappui.h>
Implements "Save to phonebook" menu functionality for external applications.
Note that in most cases current status pane layout is replaced with the Phonebook one. Restoring the original pane is left to be the responsibility of the client.
Public Member Functions |
|
~CPbkDataSaveAppUi () | |
Destructor. |
|
IMPORT_C void | AddMenuItemsL (CEikMenuPane *aMenuPane, TInt aCommandId) |
Adds Phonebook data save menu items to a menu pane. |
|
IMPORT_C void | DynInitMenuPaneL (TInt aResourceId, CEikMenuPane *aMenuPane) |
Updates Phonebook data save menu items. |
|
IMPORT_C TBool | HandleCommandL (TInt aCommandId, CArrayPtr< CPbkFieldInfo > &aFieldTypes, const TDesC &aText, MPbkDataSaveCallback *aCallback=NULL) |
Handles a menu command inserted by AddMenuItemsL. |
|
IMPORT_C TBool | HandleCommandL (TInt aCommandId, CArrayPtr< CPbkFieldInfo > &aFieldTypes, const TTime &aDate, MPbkDataSaveCallback *aCallback=NULL) |
Handles a menu command inserted by AddMenuItemsL. |
|
IMPORT_C void | HideEditorExitCommand () |
Hides the "Exit" command from contact editor's options menu. |
|
Static Public Member Functions |
|
static IMPORT_C CPbkDataSaveAppUi * | NewL (CPbkContactEngine &aEngine) |
Creates an instance of this class. |
|
Destructor. Destroys this object and cancels any open dialogs. |
|
Adds Phonebook data save menu items to a menu pane. Called from applications DynInitMenuPaneL. This call is not mandatory: if the application provides its own menus it may call HandleCommandL directly from menu's command handler.
|
|
Updates Phonebook data save menu items. Called from applications DynInitMenuPaneL. This call is not mandatory: if the application provides its own menus it may call HandleCommandL directly from menu's command handler.
|
|
Handles a menu command inserted by AddMenuItemsL.
|
|
Handles a menu command inserted by AddMenuItemsL.
|
|
Hides the "Exit" command from contact editor's options menu. Call this function after creating this object. |
|
Creates an instance of this class.
|