00001 /* 00002 * ============================================================================== 00003 * Name : CAknMemorySelectionSettingItem.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 CAKNMEMORYSELECTIONSETTINGITEM_H 00022 #define CAKNMEMORYSELECTIONSETTINGITEM_H 00023 00024 // INCLUDES 00025 #include <AknSettingItemList.h> 00026 #include <CAknMemorySelectionSettingPage.h> 00027 00028 // CLASS DECLARATION 00036 class CAknMemorySelectionSettingItem : public CAknSettingItem 00037 { 00038 public: // Constructors and destructor 00039 00040 IMPORT_C CAknMemorySelectionSettingItem( 00041 TInt aIdentifier, 00042 CAknMemorySelectionSettingPage::TMemory& aSelectedMemory ); 00043 IMPORT_C virtual ~CAknMemorySelectionSettingItem(); 00044 IMPORT_C void CompleteConstructionL(); 00045 00046 public: // Functions from base classes 00047 00051 IMPORT_C virtual void EditItemL( TBool aCalledFromMenu ); 00052 00056 IMPORT_C virtual void LoadL(); 00057 00061 IMPORT_C virtual void StoreL(); 00062 00066 IMPORT_C virtual const TDesC& SettingTextL(); 00067 00068 protected: // Data 00069 00070 // Ref: External data 00071 CAknMemorySelectionSettingPage::TMemory& iExternalData; 00072 00073 // Own: Internal data 00074 CAknMemorySelectionSettingPage::TMemory iInternalData; 00075 00076 // Own: Setting page 00077 CAknMemorySelectionSettingPage* iSettingPage; 00078 00079 // Own: The length is enough for memory name. 00080 TBuf<64> iSettingText; 00081 00082 }; 00083 00084 // CAKNMEMORYSELECTIONSETTINGITEM_H 00085 #endif 00086 00087 // End of File