|
Public Member Functions |
virtual IMPORT_C | ~CAknMemorySelectionDialogMultiDrive () |
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.
|
virtual IMPORT_C TReturnKey | ExecuteL (TDriveNumber &aSelectedDrive) |
| Executes the memory selection dialog.
|
virtual IMPORT_C TReturnKey | ExecuteL (TDriveNumber &aSelectedDrive, TDes *aRootPath, TDes *aDefaultFolder) |
| Executes the memory selection dialog.
|
TInt | NumberOfItems () const |
| Returns the number of items in list box array.
|
TInt | GetDrivePaths (TDriveNumber aDrive, TDes *aRootPath, TDes *aDefaultFolder) |
| Maps drive paths according to drive number.
|
TInt | GetDrivePaths (TInt aLbxIndex, TDes *aRootPath, TDes *aDefaultFolder) |
| Maps drive paths according to selected listbox item.
|
IMPORT_C TInt | AddDrivePathsL (const TDesC &aRootPath, const TDesC &aDefaultFolder) |
| Add user defined root path and default folder into memory selection dialog.
|
IMPORT_C TInt | FindIndexByDrive (const TDriveNumber &aDrive) |
| Add user defined root path and default folder into memory selection dialog.
|
TDriveNumber | FindDriveByIndex (const TInt aIndex) |
| Get drive number based on item index in the listbox.
|
TBool | HasUnavailbleMMC () |
| Check if there is any unavailable MMC (not inserted).
|
Static Public Member Functions |
static IMPORT_C CAknMemorySelectionDialogMultiDrive * | NewL (TCommonDialogType aDialogType, TBool aShowUnavailableDrives) |
| Static constructor.
|
static IMPORT_C CAknMemorySelectionDialogMultiDrive * | NewL (TCommonDialogType aDialogType, TInt aResourceId, TBool aShowUnavailableDrives) |
| Static constructor.
|
static IMPORT_C CAknMemorySelectionDialogMultiDrive * | NewL (TCommonDialogType aDialogType, TInt aResourceId, TBool aShowUnavailableDrives, TInt aIncludedMedias) |
| Static constructor.
|
static IMPORT_C TBool | RunDlgLD (TDriveNumber &aSelectedDrive) |
| A static method that launches a memory selection dialog.
|
static IMPORT_C TBool | RunDlgLD (TDriveNumber &aSelectedDrive, const TDesC &aTitle) |
| New overloaded function to support multiple drives.
|
static IMPORT_C TBool | RunDlgLD (TDriveNumber &aSelectedDrive, TInt aResourceId, TDes *aRootPath=NULL, TDes *aDefaultFolder=NULL) |
| A static method that launches a memory selection dialog.
|
Protected Member Functions |
| CAknMemorySelectionDialogMultiDrive (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 |
CAknMemorySelectionModelMultiDrive * | iModel |
CAknMemorySelectionEventHandler * | iEventHandler |
HBufC * | iTitle |
HBufC * | iLeftSoftkey |
HBufC * | iRightSoftkey |
CDesCArrayFlat | iRootPathArray |
CDesCArrayFlat | iDefaultFolderArray |
TBool | iDynamicDrivesEnabled |
TInt | iIncludedMedias |
| Indicate which media types of drives could be visible.
|