services/terminalmodeservice_plat/inc/upnptminfoelement.inl
branchRCL_3
changeset 9 5c72fd91570d
equal deleted inserted replaced
5:8116cc943311 9:5c72fd91570d
       
     1 /**
       
     2 * Copyright (c) 2010 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 #ifndef __UPNPTMINFOELEMENT_INL__
       
    19 #define __UPNPTMINFOELEMENT_INL__
       
    20 
       
    21 
       
    22 // ---------------------------------------------------------------------------------
       
    23 // CUpnpTmInfoElement::TerminalModeInfoType
       
    24 // Method is used to retrieve terminal mode info type
       
    25 // ---------------------------------------------------------------------------------
       
    26 //
       
    27 inline const TDesC8& CUpnpTmInfoElement::TerminalModeInfoType( )const
       
    28     {
       
    29     return *iInfoTypeBuffer;
       
    30     }
       
    31 
       
    32 // ---------------------------------------------------------------------------------
       
    33 // CUpnpTmInfoElement::TmInfoElementCount
       
    34 // Method is used to retrieve the number of key-value pairs for each info type
       
    35 // ---------------------------------------------------------------------------------
       
    36 //
       
    37 TInt CUpnpTmInfoElement::TmInfoElementCount()const
       
    38     {
       
    39     return iInfoElementNameArray.Count();
       
    40     }
       
    41 
       
    42 #endif  //__UPNPTMINFOELEMENT_INL__