|
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 |