installationservices/swi/source/plan/userselections.inl
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2005-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 the License "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 namespace Swi
       
    20 {
       
    21 
       
    22 // CUserSelections inline functions
       
    23 
       
    24 inline TLanguage CUserSelections::Language() const
       
    25 	{
       
    26 	return iLanguage;
       
    27 	}
       
    28 
       
    29 inline TChar CUserSelections::Drive() const
       
    30 	{
       
    31 	return iDrive;
       
    32 	}
       
    33 
       
    34 inline const RArray<TBool>& CUserSelections::Options() const
       
    35 	{
       
    36 	return iOptions;
       
    37 	}
       
    38 
       
    39 inline void CUserSelections::SetLanguage(TLanguage aLanguage)
       
    40 	{
       
    41 	iLanguage=aLanguage;
       
    42 	}
       
    43 
       
    44 inline void CUserSelections::SetDrive(TChar aDrive)
       
    45 	{
       
    46 	iDrive=aDrive;
       
    47 	}
       
    48 
       
    49 inline CUserSelections::~CUserSelections()
       
    50 	{
       
    51 	iOptions.Reset();
       
    52 	}
       
    53 	
       
    54 } // namespace Swi