API published in: S60 2nd Ed
Link against: commondialogs.lib
Required Capabilities
None
#include <caknmemoryselectiondialog.h>
Inherits CAknCommonDialogsBase.
Inherited by CAknMemorySelectionSettingPage.
Public Types |
|
enum | TMemory { EPhoneMemory = 0, EMemoryCard, EMemoryCount } |
: This only works with fixed C: and E: drives. More... |
|
Public Member Functions |
|
virtual IMPORT_C | ~CAknMemorySelectionDialog () |
IMPORT_C void | SetObserver (MAknMemorySelectionObserver *aObserver) |
Sets an observer which is asked if the selected item can be selected. |
|
IMPORT_C void | SetTitleL (const TDesC &aText) |
Sets title for the dialog. |
|
IMPORT_C void | SetLeftSoftkeyL (const TDesC &aText) |
Sets the text used for left softkey. |
|
IMPORT_C void | SetRightSoftkeyL (const TDesC &aText) |
Sets the text used for right softkey. |
|
IMPORT_C void | GetItem (TInt aIndex, TDes &aItem) |
Gets an item from memory selection dialog at specified index. |
|
IMPORT_C void | GetMemories (TMemory aSelectedMemory, TDes *aRootPath, TDes *aDefaultFolder) |
Gets the location paths of a memory. |
|
virtual IMPORT_C TReturnKey | ExecuteL (TMemory &aSelectedMemory) |
Executes the memory selection dialog. |
|
virtual IMPORT_C TReturnKey | ExecuteL (TMemory &aSelectedMemory, TDes *aRootPath, TDes *aDefaultFolder) |
Executes the memory selection dialog. |
|
TInt | NumberOfItems () const |
Returns the number of items in list box array. |
|
TInt | GetDrivePaths (TInt aLbxIndex, TDes *aRootPath, TDes *aDefaultFolder) |
Maps drive paths according to selected listbox item. |
|
Static Public Member Functions |
|
static IMPORT_C CAknMemorySelectionDialog * | NewL (TCommonDialogType aDialogType, TBool aShowUnavailableDrives) |
Static constructor. |
|
static IMPORT_C CAknMemorySelectionDialog * | NewL (TCommonDialogType aDialogType, TInt aResourceId, TBool aShowUnavailableDrives) |
Static constructor. |
|
static IMPORT_C CAknMemorySelectionDialog * | NewL (TCommonDialogType aDialogType, TInt aResourceId, TBool aShowUnavailableDrives, TInt aIncludedMedias) |
Static constructor. |
|
static IMPORT_C TBool | RunDlgLD (TMemory &aSelectedMemory, MAknMemorySelectionObserver *aObserver=NULL) |
A static method that launches a memory selection dialog. |
|
static IMPORT_C TBool | RunDlgLD (TMemory &aSelectedMemory, const TDesC &aTitle, MAknMemorySelectionObserver *aObserver=NULL) |
A static method that launches a memory selection dialog. |
|
static IMPORT_C TBool | RunDlgLD (TMemory &aSelectedMemory, TInt aResourceId, TDes *aRootPath=NULL, TDes *aDefaultFolder=NULL, MAknMemorySelectionObserver *aObserver=NULL) |
A static method that launches a memory selection dialog. |
|
Protected Member Functions |
|
CAknMemorySelectionDialog (TCommonDialogType aDialogType) | |
virtual void | ConstructFromResourceL (TInt aResourceId, TBool aShowUnavailableDrives) |
Constructs class from resource. |
|
virtual void | ConstructFromResourceL (TInt aResourceId, TBool aShowUnavailableDrives, TInt aIncludedMedias) |
Constructs class from resource. |
|
Protected Attributes |
|
TCommonDialogType | iDialogType |
CAknMemorySelectionModel * | iModel |
CAknMemorySelectionEventHandler * | iEventHandler |
MAknMemorySelectionObserver * | iObserver |
HBufC * | iTitle |
HBufC * | iLeftSoftkey |
HBufC * | iRightSoftkey |
CDesCArrayFlat | iRootPathArray |
CDesCArrayFlat | iDefaultFolderArray |
TBool | iDynamicDrivesEnabled |
TInt | iIncludedMedias |
|
: This only works with fixed C: and E: drives. Enumerations for memory items in listbox . |
|
|
|
Constructs class from resource.
|
|
Constructs class from resource.
|
|
Executes the memory selection dialog. Virtual to allow derivation.
|
|
Executes the memory selection dialog. Virtual to allow derivation.
|
|
Maps drive paths according to selected listbox item. This function is valid for dynamic drives. The prerequisite for this function is that iRootPathArray and additionally iDefaultFolderArray indexes map correctly to iModel's listbox items.
|
|
Gets an item from memory selection dialog at specified index.
|
|
Gets the location paths of a memory.
|
|
Static constructor.
|
|
Static constructor.
|
|
Static constructor.
|
|
Returns the number of items in list box array. Not exported, for CFD internal use only.
|
|
A static method that launches a memory selection dialog.
|
|
A static method that launches a memory selection dialog.
|
|
A static method that launches a memory selection dialog.
|
|
Sets the text used for left softkey.
|
|
Sets an observer which is asked if the selected item can be selected.
|
|
Sets the text used for right softkey.
|
|
Sets title for the dialog.
|
|
|
|
|
|
|
|
|
|
|
|