email/imum/Utils/Inc/IMSSettingsBaseUi.inl
branchRCL_3
changeset 27 7fdbb852d323
parent 0 72b543305e3a
equal deleted inserted replaced
26:ebe688cedc25 27:7fdbb852d323
       
     1 /*
       
     2 * Copyright (c) 2006 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:  IMSSettingsBaseUI.inl
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // ----------------------------------------------------------------------------
       
    21 // CIMSSettingsBaseUI::ToUid()
       
    22 // ----------------------------------------------------------------------------
       
    23 //
       
    24 inline TUid CIMSSettingsBaseUI::ToUid( const TUint32 aId ) const
       
    25     {
       
    26     return TUid::Uid( aId );
       
    27     }
       
    28 
       
    29 // ----------------------------------------------------------------------------
       
    30 // CIMSSettingsBaseUI::SafeStringLoad()
       
    31 // ----------------------------------------------------------------------------
       
    32 //
       
    33 inline TInt CIMSSettingsBaseUI::SafeStringLoad(
       
    34     const TInt aResource,
       
    35     HBufC*& aString ) const
       
    36     {
       
    37     TRAPD( error, aString = StringLoader::LoadL( aResource ) );
       
    38 
       
    39     return error;
       
    40     }
       
    41 
       
    42 // End of File