services/terminalmodeservice_plat/inc/upnpremotableapp.inl
branchRCL_3
changeset 10 594d15129e2c
parent 9 5c72fd91570d
equal deleted inserted replaced
9:5c72fd91570d 10:594d15129e2c
     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 __UPNPREMOTABLEAPP_INL__
       
    19 #define __UPNPREMOTABLEAPP_INL__
       
    20 
       
    21 
       
    22 // ---------------------------------------------------------------------------------
       
    23 // CUpnpRemotableApp::IconList
       
    24 // Method is used to retreive icon list.
       
    25 // @return Returns reference to the list of CUpnpTerminalModeIcon objects
       
    26 // ---------------------------------------------------------------------------------
       
    27 //
       
    28 inline const RPointerArray<CUpnpTerminalModeIcon>& CUpnpRemotableApp::IconList()const
       
    29     {
       
    30     return iIconList;
       
    31     }
       
    32 
       
    33 // ---------------------------------------------------------------------------------
       
    34 // CUpnpRemotableApp::TmInfoElementList
       
    35 // Method is used to retrieve terminal mode info list
       
    36 // @return Returns reference to an array of CUpnpTmInfoElement objects
       
    37 // ---------------------------------------------------------------------------------
       
    38 //
       
    39 inline const RPointerArray<CUpnpTmInfoElement>& CUpnpRemotableApp::TmInfoElementList()const
       
    40     {
       
    41     return iTmInfoElementList;
       
    42     }
       
    43 
       
    44 // ---------------------------------------------------------------------------------
       
    45 // CUpnpRemotableApp::AppId
       
    46 // Method is used to retrieve application ID.
       
    47 // @return Returns appID.
       
    48 // ---------------------------------------------------------------------------------
       
    49 //
       
    50 inline TUint CUpnpRemotableApp::AppId()const
       
    51     {
       
    52     return iAppId;
       
    53     }
       
    54 
       
    55 // ---------------------------------------------------------------------------------
       
    56 // CUpnpRemotableApp::AppName
       
    57 // Method is used to retrieve applicationName.
       
    58 // @return Returns application name.
       
    59 // ---------------------------------------------------------------------------------
       
    60 //
       
    61 inline const TDesC8& CUpnpRemotableApp::AppName()const
       
    62     {
       
    63     return iAppName;
       
    64     }
       
    65 
       
    66 // ---------------------------------------------------------------------------------
       
    67 // CUpnpRemotableApp::AppDescription
       
    68 // Method is used to retrieve brief description of the application.
       
    69 // @return Returns application description.
       
    70 // ---------------------------------------------------------------------------------
       
    71 inline const TDesC8& CUpnpRemotableApp::AppDescription()const
       
    72     {
       
    73     return iAppDescription;
       
    74     }
       
    75 
       
    76 // ---------------------------------------------------------------------------------
       
    77 // CUpnpRemotableApp::ResourceStatus
       
    78 // Method is used to retrieve current sttaus of the resource.
       
    79 // @return Returns the resource status of the application.
       
    80 // ---------------------------------------------------------------------------------
       
    81 //
       
    82 inline const TDesC8& CUpnpRemotableApp::ResourceStatus()const
       
    83     {
       
    84     return iResourceStatus;
       
    85     }
       
    86 
       
    87 // ---------------------------------------------------------------------------------
       
    88 // CUpnpRemotableApp::AllowedProfileIdList
       
    89 // Method is used to retrieve list of allowed profile IDs for the application.
       
    90 // @return Returns the reference to the array of profile IDs.
       
    91 // ---------------------------------------------------------------------------------
       
    92 //
       
    93 inline const RArray<TUint>& CUpnpRemotableApp::AllowedProfileIdList()const
       
    94     {
       
    95     return iProfileIdList;
       
    96     }
       
    97 
       
    98 #endif  //__UPNPREMOTABLEAPP_INL__