diff -r 0f326f2e628e -r a7632c26d895 fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/inc/AknFepUIAvkonCtrlDualLanguageSettingData.h --- a/fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/inc/AknFepUIAvkonCtrlDualLanguageSettingData.h Fri Jul 23 16:49:01 2010 +0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,159 +0,0 @@ -/* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0"" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ - - - - - - - - - - -#ifndef __AKNFEPDUALLANGUAGESETTINGDATA_H -#define __AKNFEPDUALLANGUAGESETTINGDATA_H - -#include -#include -#include - -/** - * Class: CAknFepDualLanguageSettingData - * - * Discussion: An aggregate class containing data for all editing controls - * This class is used as a central respository for all data - * to be displayed and editted within this app. - */ -class CAknFepDualLanguageSettingData : public CBase -{ -public: - /** - * Function: NewL - * - * Discussion: Factory function used to create a new instance of - * CAknFepDualLanguageSettingData - * - * Returns: A newly created instance of CAknFepDualLanguageSettingData with all data - * items valid - */ - static CAknFepDualLanguageSettingData* NewL(); - - /** - * Function: NewLC - * - * Discussion: Factory function used to create a new instance of - * CAknFepDualLanguageSettingData and leave a pointer to it on the cleanup - * stack - * - * Returns: A newly created instance of CAknFepDualLanguageSettingData with all data - * items valid - */ - static CAknFepDualLanguageSettingData* NewLC(); - - /** - * Function: ~CAknFepDualLanguageSettingData - * - * Discussion: Virtual destructor for CCAknFepDualLanguageSettingData. Ensures that all - * allocated memory is returned to the heap before deletion - * of object. - * - */ - virtual ~CAknFepDualLanguageSettingData(); - - /** - * Function: LoadL - * - * Discussion: Loads itself with parameters passed. - * - */ - void LoadL(CDesCArrayFlat* aItems, - CDesCArrayFlat* aSecondaryItems, - TInt aCurrentValue, - TInt aCurrentSecondaryValue); - - - /** - * Function: SaveL - * - * Discussion: Saves itself. - * - */ - void SaveL() const; - - /** - * Function: Items - * - * Discussion: Trivial accessor function - * - * Returns: A reference to the iItems member - */ - inline CDesCArrayFlat* Items() {return iItems; } - - /** - * Function: SecondaryItems - * - * Discussion: Trivial accessor function - * - * Returns: A reference to the iSecondaryItems member - */ - inline CDesCArrayFlat* SecondaryItems() { return iSecondaryItems; } - - /** - * Function: CurrentValue - * - * Discussion: Trivial accessor function - * - * Returns: A reference to the iCurrentValue member - */ - inline TInt& CurrentValue() {return iCurrentValue; } - - /** - * Function: CurrentSecondaryValue - * - * Discussion: Trivial accessor function - * - * Returns: A reference to the iCurrentSecondaryValue member - */ - inline TInt& CurrentSecondaryValue() {return iCurrentSecondaryValue; } - -private: - /** - * Function: CAknFepDualLanguageSettingData - * - * Discussion: Hidden, first-stage non-leaving constructor. - * - */ - CAknFepDualLanguageSettingData(); - - /** - * Function: ConstructL - * - * Discussion: Hidden, second-stage possibly-leaving constructor. - * - */ - void ConstructL(); - - -public: - CDesCArrayFlat* iItems; - CDesCArrayFlat* iSecondaryItems; - TInt iCurrentValue; - TInt iCurrentSecondaryValue; -}; - -#endif // __AKNFEPDUALLANGUAGESETTINGDATA_H -