00001 /* 00002 * ============================================================================ 00003 * Name : CAknMemorySelectionSettingItem.h 00004 * Part of : Common File Dialogs / CommonDialogs.dll 00005 * Description : The setting item to use CAknMemorySelectionSettingPage. 00006 * Version : %version: e003sa02#3 % << Don't touch! Updated by Synergy at check-out. 00007 * 00008 * Copyright 2002-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_AKNMEMORYSELECTIONSETTINGITEM_H 00022 #define C_AKNMEMORYSELECTIONSETTINGITEM_H 00023 00024 #include <AknSettingItemList.h> 00025 #include <CAknMemorySelectionSettingPage.h> 00026 00034 class CAknMemorySelectionSettingItem : public CAknSettingItem 00035 { 00036 public: 00037 00038 // Constructors and destructor 00039 00043 IMPORT_C CAknMemorySelectionSettingItem( 00044 TInt aIdentifier, 00045 CAknMemorySelectionSettingPage::TMemory& aSelectedMemory ); 00046 00047 IMPORT_C virtual ~CAknMemorySelectionSettingItem(); 00048 IMPORT_C void CompleteConstructionL(); 00049 00050 // Functions from base class CAknSettingItem 00051 00055 IMPORT_C virtual void EditItemL( TBool aCalledFromMenu ); 00056 00060 IMPORT_C virtual void LoadL(); 00061 00065 IMPORT_C virtual void StoreL(); 00066 00070 IMPORT_C virtual const TDesC& SettingTextL(); 00071 00072 protected: // Data 00073 00074 // Ref: External data 00075 CAknMemorySelectionSettingPage::TMemory& iExternalData; 00076 00077 // Own: Internal data 00078 CAknMemorySelectionSettingPage::TMemory iInternalData; 00079 00080 // Own: Setting page 00081 CAknMemorySelectionSettingPage* iSettingPage; 00082 00083 // Own: The length is enough for memory name. 00084 TBuf<64> iSettingText; 00085 00086 }; 00087 00088 // C_AKNMEMORYSELECTIONSETTINGITEM_H 00089 #endif