2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: New memory selection setting item to support multiple drives.
20 #ifndef C_AKNMEMORYSELECTIONSETTINGITEMMULTIDRIVE_H
21 #define C_AKNMEMORYSELECTIONSETTINGITEMMULTIDRIVE_H
23 #include <AknSettingItemList.h>
25 class CAknMemorySelectionSettingItemExtension;
26 class CAknCFDFileSystemEvent;
29 * CAknMemorySelectionSettingItemMultiDrive is a setting item class that
30 * launches a CAknMemorySelectionDialogMultiDrive. It is used to replace
31 * old CAknMemorySelectionSettingItem for multiple drive support.
33 * @lib CommonDialogs.lib
36 class CAknMemorySelectionSettingItemMultiDrive : public CAknSettingItem
41 // Constructors and destructor
48 IMPORT_C CAknMemorySelectionSettingItemMultiDrive(
50 TDriveNumber& aSelectedDrive
53 IMPORT_C virtual ~CAknMemorySelectionSettingItemMultiDrive();
56 * The 2nd phase constructor. It is called internally when extension
57 * object is needed. User also could call it after creating a object of
58 * CAknMemorySelectionSettingItemMultiDrive.
62 IMPORT_C void CompleteConstructionL();
64 // Functions from base class CAknSettingItem
67 * From CAknSettingItem
69 IMPORT_C virtual void EditItemL( TBool aCalledFromMenu );
72 * From CAknSettingItem
74 IMPORT_C virtual void LoadL();
77 * From CAknSettingItem
79 IMPORT_C virtual void StoreL();
82 * From CAknSettingItem
84 IMPORT_C virtual const TDesC& SettingTextL();
87 * Update contents of setting item
89 void UpdateSettingItemContentL();
94 TDriveNumber& iExternalData;
97 TDriveNumber iInternalData;
99 // Own: Pointer to extension object
100 CAknMemorySelectionSettingItemExtension* iExtension;
102 // Own: The length is enough for memory name.
107 #endif // C_AKNMEMORYSELECTIONSETTINGITEMMULTIDRIVE_H