fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/src/AknFepUiAvkonCtrlDualLanguageSettingData.cpp
changeset 40 2cb9bae34d17
parent 31 f1bdd6b078d1
child 49 37f5d84451bd
equal deleted inserted replaced
31:f1bdd6b078d1 40:2cb9bae34d17
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:          
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 #include "AknFepUIAvkonCtrlDualLanguageSettingData.h"
       
    28 
       
    29 CAknFepDualLanguageSettingData *CAknFepDualLanguageSettingData::NewL()
       
    30 	{
       
    31 	CAknFepDualLanguageSettingData *self = CAknFepDualLanguageSettingData::NewLC();
       
    32 	CleanupStack::Pop(self);
       
    33 	return self;
       
    34 	}
       
    35 
       
    36 CAknFepDualLanguageSettingData *CAknFepDualLanguageSettingData::NewLC()
       
    37 	{
       
    38 	CAknFepDualLanguageSettingData *self = new (ELeave) CAknFepDualLanguageSettingData();
       
    39 	CleanupStack::PushL(self);
       
    40 	return self;
       
    41 	}
       
    42 
       
    43 CAknFepDualLanguageSettingData::~CAknFepDualLanguageSettingData()
       
    44 	{
       
    45 	if(iItems != NULL)
       
    46 	    {
       
    47 	    delete iItems;
       
    48 	    }
       
    49 	if(iSecondaryItems != NULL)
       
    50 	    {
       
    51 	    delete iSecondaryItems;
       
    52 	    }
       
    53 	}
       
    54 
       
    55 CAknFepDualLanguageSettingData::CAknFepDualLanguageSettingData()
       
    56 	{
       
    57 	}
       
    58 
       
    59 void CAknFepDualLanguageSettingData::LoadL(CDesCArrayFlat* aItems,
       
    60                                 CDesCArrayFlat* aSecondaryItems,
       
    61                                 TInt aCurrentValue,
       
    62                                 TInt aCurrentSecondaryValue)
       
    63     {
       
    64     iItems = aItems;
       
    65     iSecondaryItems = aSecondaryItems;
       
    66     iCurrentValue = aCurrentValue;
       
    67     iCurrentSecondaryValue = aCurrentSecondaryValue;
       
    68     }
       
    69     
       
    70 void CAknFepDualLanguageSettingData::SaveL() const
       
    71     {
       
    72     }
       
    73 //EOF