services/terminalmodeservice_plat/inc/upnpremotableapp.inl
author hgs
Fri, 23 Jul 2010 08:57:49 +0300
changeset 24 e9457ebcc4df
permissions -rw-r--r--
201029
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
24
hgs
parents:
diff changeset
     1
/**
hgs
parents:
diff changeset
     2
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
hgs
parents:
diff changeset
     3
* All rights reserved.
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
*
hgs
parents:
diff changeset
     9
* Initial Contributors:
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
*
hgs
parents:
diff changeset
    12
* Contributors:
hgs
parents:
diff changeset
    13
*
hgs
parents:
diff changeset
    14
* Description: 
hgs
parents:
diff changeset
    15
*
hgs
parents:
diff changeset
    16
*/
hgs
parents:
diff changeset
    17
hgs
parents:
diff changeset
    18
#ifndef __UPNPREMOTABLEAPP_INL__
hgs
parents:
diff changeset
    19
#define __UPNPREMOTABLEAPP_INL__
hgs
parents:
diff changeset
    20
hgs
parents:
diff changeset
    21
hgs
parents:
diff changeset
    22
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    23
// CUpnpRemotableApp::IconList
hgs
parents:
diff changeset
    24
// Method is used to retreive icon list.
hgs
parents:
diff changeset
    25
// @return Returns reference to the list of CUpnpTerminalModeIcon objects
hgs
parents:
diff changeset
    26
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    27
//
hgs
parents:
diff changeset
    28
inline const RPointerArray<CUpnpTerminalModeIcon>& CUpnpRemotableApp::IconList()const
hgs
parents:
diff changeset
    29
    {
hgs
parents:
diff changeset
    30
    return iIconList;
hgs
parents:
diff changeset
    31
    }
hgs
parents:
diff changeset
    32
hgs
parents:
diff changeset
    33
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    34
// CUpnpRemotableApp::TmInfoElementList
hgs
parents:
diff changeset
    35
// Method is used to retrieve terminal mode info list
hgs
parents:
diff changeset
    36
// @return Returns reference to an array of CUpnpTmInfoElement objects
hgs
parents:
diff changeset
    37
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    38
//
hgs
parents:
diff changeset
    39
inline const RPointerArray<CUpnpTmInfoElement>& CUpnpRemotableApp::TmInfoElementList()const
hgs
parents:
diff changeset
    40
    {
hgs
parents:
diff changeset
    41
    return iTmInfoElementList;
hgs
parents:
diff changeset
    42
    }
hgs
parents:
diff changeset
    43
hgs
parents:
diff changeset
    44
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    45
// CUpnpRemotableApp::AppId
hgs
parents:
diff changeset
    46
// Method is used to retrieve application ID.
hgs
parents:
diff changeset
    47
// @return Returns appID.
hgs
parents:
diff changeset
    48
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    49
//
hgs
parents:
diff changeset
    50
inline TUint CUpnpRemotableApp::AppId()const
hgs
parents:
diff changeset
    51
    {
hgs
parents:
diff changeset
    52
    return iAppId;
hgs
parents:
diff changeset
    53
    }
hgs
parents:
diff changeset
    54
hgs
parents:
diff changeset
    55
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    56
// CUpnpRemotableApp::AppName
hgs
parents:
diff changeset
    57
// Method is used to retrieve applicationName.
hgs
parents:
diff changeset
    58
// @return Returns application name.
hgs
parents:
diff changeset
    59
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    60
//
hgs
parents:
diff changeset
    61
inline const TDesC8& CUpnpRemotableApp::AppName()const
hgs
parents:
diff changeset
    62
    {
hgs
parents:
diff changeset
    63
    return iAppName;
hgs
parents:
diff changeset
    64
    }
hgs
parents:
diff changeset
    65
hgs
parents:
diff changeset
    66
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    67
// CUpnpRemotableApp::AppDescription
hgs
parents:
diff changeset
    68
// Method is used to retrieve brief description of the application.
hgs
parents:
diff changeset
    69
// @return Returns application description.
hgs
parents:
diff changeset
    70
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    71
inline const TDesC8& CUpnpRemotableApp::AppDescription()const
hgs
parents:
diff changeset
    72
    {
hgs
parents:
diff changeset
    73
    return iAppDescription;
hgs
parents:
diff changeset
    74
    }
hgs
parents:
diff changeset
    75
hgs
parents:
diff changeset
    76
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    77
// CUpnpRemotableApp::ResourceStatus
hgs
parents:
diff changeset
    78
// Method is used to retrieve current sttaus of the resource.
hgs
parents:
diff changeset
    79
// @return Returns the resource status of the application.
hgs
parents:
diff changeset
    80
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    81
//
hgs
parents:
diff changeset
    82
inline const TDesC8& CUpnpRemotableApp::ResourceStatus()const
hgs
parents:
diff changeset
    83
    {
hgs
parents:
diff changeset
    84
    return iResourceStatus;
hgs
parents:
diff changeset
    85
    }
hgs
parents:
diff changeset
    86
hgs
parents:
diff changeset
    87
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    88
// CUpnpRemotableApp::AllowedProfileIdList
hgs
parents:
diff changeset
    89
// Method is used to retrieve list of allowed profile IDs for the application.
hgs
parents:
diff changeset
    90
// @return Returns the reference to the array of profile IDs.
hgs
parents:
diff changeset
    91
// ---------------------------------------------------------------------------------
hgs
parents:
diff changeset
    92
//
hgs
parents:
diff changeset
    93
inline const RArray<TUint>& CUpnpRemotableApp::AllowedProfileIdList()const
hgs
parents:
diff changeset
    94
    {
hgs
parents:
diff changeset
    95
    return iProfileIdList;
hgs
parents:
diff changeset
    96
    }
hgs
parents:
diff changeset
    97
hgs
parents:
diff changeset
    98
#endif  //__UPNPREMOTABLEAPP_INL__