A simple facade class that consists of static functions that launch UI components in a sequence. First, memory selection component
is launched and then file/directory selection component. In save and move dialogs directory selection may not be shown if
there are no subdirectories to choose from. In save dialog, finally filename prompt component is launched.
All methods have an obligatory resource ID parameter for memory selection because it contains the paths for both memories
(Phone&MMC) (LOCATION structs). New TMemoryTypes functionality allows defining dynamic memories to be used.
If set, an observer is queried just before exiting the dialog. At this point the application can either reject or accept user's
selection. Every dialog returns a boolean value which tells if user has selected something or not.
|
Public Types
|
enum |
TMemoryTypes {
EMemoryTypePhone = 0x00000001,
EMemoryTypeMMC = 0x00000002,
EMemoryTypeRemote = 0x00000004,
EMemoryTypeInternalMassStorage = 0x00000008,
EMemoryTypeMMCExternal = 0x00000010
}
|
|
Bit flag definition of the memory types that will be listed by the dialog. More...
|
Static Public Member Functions
|
static IMPORT_C TBool |
RunSelectDlgLD (TInt aIncludedMedias, TDes &aFileName, TInt aMemorySelectionResourceId, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches file selection dialog.
|
static IMPORT_C TBool |
RunSelectDlgLD (TInt aIncludedMedias, TDes &aFileName, TInt aMemorySelectionResourceId, MAknFileFilter *aFilter, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches file selection dialog.
|
static IMPORT_C TBool |
RunSelectDlgLD (TInt aIncludedMedias, TDes &aFileName, TInt aMemorySelectionResourceId, const TDesC &aFileSelectionTitle, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches file selection dialog.
|
static IMPORT_C TBool |
RunSelectDlgLD (TInt aIncludedMedias, TDes &aFileName, TInt aMemorySelectionResourceId, TInt aFileSelectionResourceId, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches file selection dialog.
|
static IMPORT_C TBool |
RunMoveDlgLD (TInt aIncludedMedias, TDes &aDirectory, TInt aMemorySelectionResourceId, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches move dialog.
|
static IMPORT_C TBool |
RunMoveDlgLD (TInt aIncludedMedias, TDes &aDirectory, TInt aMemorySelectionResourceId, MAknFileFilter *aFilter, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches move dialog.
|
static IMPORT_C TBool |
RunMoveDlgLD (TInt aIncludedMedias, TDes &aDirectory, TInt aMemorySelectionResourceId, const TDesC &aFileSelectionTitle, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches move dialog.
|
static IMPORT_C TBool |
RunMoveDlgLD (TInt aIncludedMedias, TDes &aDirectory, TInt aMemorySelectionResourceId, TInt aFileSelectionResourceId, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches move dialog.
|
static IMPORT_C TBool |
RunSaveDlgLD (TInt aIncludedMedias, TDes &aDefaultFileName, TInt aMemorySelectionResourceId, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches save dialog which does not run folder selection dialog at all.
|
static IMPORT_C TBool |
RunSaveDlgLD (TInt aIncludedMedias, TDes &aDefaultFileName, TInt aMemorySelectionResourceId, MAknFileFilter *aFilter, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches save dialog.
|
static IMPORT_C TBool |
RunSaveDlgLD (TInt aIncludedMedias, TDes &aDefaultFileName, TInt aMemorySelectionResourceId, const TDesC &aFileSelectionTitle, const TDesC
&aFileNamePromptTitle, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches save dialog.
|
static IMPORT_C TBool |
RunSaveDlgLD (TInt aIncludedMedias, TDes &aDefaultFileName, TInt aMemorySelectionResourceId, TInt aFileSelectionResourceId, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches save dialog.
|
static IMPORT_C TBool |
RunSaveDlgLD (TInt aIncludedMedias, TDes &aDefaultFileName, TInt aMemorySelectionResourceId, TInt aFileSelectionResourceId, const TDesC
&aFileNamePromptTitle, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches save dialog.
|
static IMPORT_C TBool |
RunSaveDlgNoDirectorySelectionLD (TInt aIncludedMedias, TDes &aDefaultFileName, TInt aMemorySelectionResourceId, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches save dialog.
|
static IMPORT_C TBool |
RunSaveDlgNoDirectorySelectionLD (TInt aIncludedMedias, TDes &aDefaultFileName, TInt aMemorySelectionResourceId, const TDesC &aFileNamePromptTitle, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches save dialog.
|
static IMPORT_C TBool |
RunCopyDlgLD (TInt aIncludedMedias, TDes &aDirectory, TInt aMemorySelectionResourceId, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches copy dialog.
|
static IMPORT_C TBool |
RunCopyDlgLD (TInt aIncludedMedias, TDes &aDirectory, TInt aMemorySelectionResourceId, MAknFileFilter *aFilter, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches copy dialog.
|
static IMPORT_C TBool |
RunCopyDlgLD (TInt aIncludedMedias, TDes &aDirectory, TInt aMemorySelectionResourceId, TInt aFileSelectionResourceId, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches copy dialog.
|
static IMPORT_C TBool |
RunSelectDlgLD (TInt aIncludedMedias, TDes &aFileName, const TDesC &aStartFolder, TInt aMemorySelectionResourceId, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches file selection dialog.
|
static IMPORT_C TBool |
RunSelectDlgLD (TInt aIncludedMedias, TDes &aFileName, const TDesC &aStartFolder, TInt aMemorySelectionResourceId, MAknFileFilter *aFilter, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches file selection dialog.
|
static IMPORT_C TBool |
RunSelectDlgLD (TInt aIncludedMedias, TDes &aFileName, const TDesC &aStartFolder, TInt aMemorySelectionResourceId, const TDesC &aFileSelectionTitle,
MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches file selection dialog.
|
static IMPORT_C TBool |
RunSelectDlgLD (TInt aIncludedMedias, TDes &aFileName, const TDesC &aStartFolder, TInt aMemorySelectionResourceId, TInt aFileSelectionResourceId,
MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches file selection dialog.
|
static IMPORT_C TBool |
RunSelectDlgLD (TInt aIncludedMedias, TDes &aFileName, const TDesC &aStartFolder, TInt aMemorySelectionResourceId, TInt aFileSelectionResourceId,
const TDesC &aFileSelectionTitle, MAknFileFilter *aFilter=NULL, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches file selection dialog.
|
static IMPORT_C TBool |
RunSaveDlgLD (TInt aIncludedMedias, TDes &aDefaultFileName, const TDesC &aStartFolder, TInt aMemorySelectionResourceId, TInt aFileSelectionResourceId,
const TDesC &aFileSelectionTitle, MAknFileFilter *aFilter=NULL, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches save dialog.
|
static IMPORT_C TBool |
RunFolderSelectDlgLD (TInt aIncludedMedias, TDes &aFolder, const TDesC &aStartFolder, TInt aMemorySelectionResourceId, TInt aFileSelectionResourceId,
const TDesC &aFileSelectionTitle, MAknFileFilter *aFilter=NULL, MAknFileSelectionObserver *aObserver=NULL)
|
|
A static method that launches folder selection dialog.
|