caknmemoryselectionsettingitemmultidrive.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name        : CAknMemorySelectionSettingItemMultiDrive.h
00004 *  Part of     : Common File Dialogs / CommonDialogs.dll
00005 *  Description : New memory selection setting item to support multiple drives.
00006 *  Version     : %version: 1 % << Don't touch! Updated by Synergy at check-out.
00007 *
00008 *  Copyright 2007 Nokia.  All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia.  All
00011 *  rights are reserved.  Copying, including reproducing, storing,
00012 *  adapting or translating, any or all of this material requires the
00013 *  prior written consent of Nokia.  This material also contains
00014 *  confidential information which may not be disclosed to others
00015 *  without the prior written consent of Nokia.
00016 * ============================================================================
00017 * Template version: 4.1
00018 */
00019 
00020 
00021 #ifndef C_AKNMEMORYSELECTIONSETTINGITEMMULTIDRIVE_H
00022 #define C_AKNMEMORYSELECTIONSETTINGITEMMULTIDRIVE_H
00023 
00024 #include <AknSettingItemList.h>
00025 
00026 class CAknMemorySelectionSettingItemExtension;
00027 
00036 class CAknMemorySelectionSettingItemMultiDrive : public CAknSettingItem
00037     {
00038         
00039 public:
00040     
00041 // Constructors and destructor
00042 
00048     IMPORT_C CAknMemorySelectionSettingItemMultiDrive(
00049         TInt aIdentifier,
00050         TDriveNumber& aSelectedDrive
00051         );            
00052             
00053     IMPORT_C virtual ~CAknMemorySelectionSettingItemMultiDrive();
00054     
00062     IMPORT_C void CompleteConstructionL();
00063 
00064 // Functions from base class CAknSettingItem
00065 
00069     IMPORT_C virtual void EditItemL( TBool aCalledFromMenu );
00070 
00074     IMPORT_C virtual void LoadL();
00075 
00079     IMPORT_C virtual void StoreL();
00080 
00084     IMPORT_C virtual const TDesC& SettingTextL();
00085 
00086 protected: // Data
00087 
00088     // Ref: External data
00089     TDriveNumber& iExternalData;
00090 
00091     // Own: Internal data
00092     TDriveNumber iInternalData;
00093     
00094     // Own: Pointer to extension object
00095     CAknMemorySelectionSettingItemExtension* iExtension;
00096 
00097     // Own: The length is enough for memory name.
00098     HBufC* iSettingText;
00099     
00100     };
00101 
00102 #endif      // C_AKNMEMORYSELECTIONSETTINGITEMMULTIDRIVE_H

Copyright © Nokia Corporation 2001-2008
Back to top