00001 /* 00002 * ============================================================================== 00003 * Name : CAknMemorySelectionSettingPage.h 00004 * Part of : Common File Dialogs / CommonDialogs.dll 00005 * Interface : ?Interface_category, ?Interface_name 00006 * Description : ?Description 00007 * Version : ?Version 00008 * 00009 * Copyright (c) 2002-2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. All rights are reserved. Copying, 00013 * including reproducing, storing, adapting or translating, any 00014 * or all of this material requires the prior written consent of 00015 * Nokia Corporation. This material also contains confidential 00016 * information which may not be disclosed to others without the 00017 * prior written consent of Nokia Corporation. 00018 * ============================================================================== 00019 */ 00020 00021 #ifndef CAKNMEMORYSELECTIONSETTINGPAGE_H 00022 #define CAKNMEMORYSELECTIONSETTINGPAGE_H 00023 00024 // INCLUDES 00025 #include <CAknMemorySelectionDialog.h> 00026 00027 // FORWARD DECLARATIONS 00028 class MAknMemorySelectionObserver; 00029 00030 // CLASS DEFINITION 00037 NONSHARABLE_CLASS(CAknMemorySelectionSettingPage) : public CAknMemorySelectionDialog 00038 { 00039 public: // Constructors and destructors 00040 00045 IMPORT_C static CAknMemorySelectionSettingPage* NewL(); 00046 00052 IMPORT_C static CAknMemorySelectionSettingPage* NewL( TInt aResourceId ); 00053 00054 IMPORT_C ~CAknMemorySelectionSettingPage(); 00055 00056 public: // New functions 00057 00066 IMPORT_C TReturnKey ExecuteL( TMemory& aSelectedMemory ); 00067 00080 IMPORT_C TReturnKey ExecuteL( 00081 TMemory& aSelectedMemory, TDes* aRootPath, TDes* aDefaultFolder ); 00082 00083 // Static methods for launching memory selection dialog 00084 // Parameters & return value are descibed in method RunLD 00085 00086 IMPORT_C static TBool RunDlgLD( TMemory& aSelectedMemory, 00087 MAknMemorySelectionObserver* aObserver = NULL ); 00088 00089 IMPORT_C static TBool RunDlgLD( TMemory& aSelectedMemory, 00090 const TDesC& aTitle, 00091 MAknMemorySelectionObserver* aObserver = NULL ); 00092 00093 IMPORT_C static TBool RunDlgLD( TMemory& aSelectedMemory, 00094 TInt aResourceId, 00095 TDes* aRootPath = NULL, TDes* aDefaultFolder = NULL, 00096 MAknMemorySelectionObserver* aObserver = NULL ); 00097 00098 00099 private: // Constructors and destructors 00100 00101 CAknMemorySelectionSettingPage(); 00102 00103 private: // New functions 00104 00119 static TBool RunL( 00120 TInt aResourceId, 00121 TMemory& aSelectedMemory, 00122 const TDesC& aTitle, 00123 TDes* aRootPath, 00124 TDes* aDefaultFolder, 00125 MAknMemorySelectionObserver* aObserver ); 00126 }; 00127 00128 // CAKNMEMORYSELECTIONSETTINGPAGE_H 00129 #endif 00130 00131 // End of File