upnpmediaserver/contentdirectoryservice/inc/upnpresourcesbean.inl
changeset 0 7f85d04be362
equal deleted inserted replaced
-1:000000000000 0:7f85d04be362
       
     1 /** @file
       
     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:  Element table data handler - inline functions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // ============================ MEMBER FUNCTIONS ===============================
       
    20 
       
    21 // -----------------------------------------------------------------------------
       
    22 // CUpnpResourcesBean::SetIdL
       
    23 // (other items were commented in a header).
       
    24 // -----------------------------------------------------------------------------
       
    25 //
       
    26 inline void CUpnpResourcesBean::SetId(TInt64 aId)
       
    27 {
       
    28         iId = aId;
       
    29 }
       
    30 // -----------------------------------------------------------------------------
       
    31 // CUpnpResourcesBean::SetObjectIdL
       
    32 // (other items were commented in a header).
       
    33 // -----------------------------------------------------------------------------
       
    34 //
       
    35 inline void CUpnpResourcesBean::SetObjectId(TInt aObjectId)
       
    36 {
       
    37         iObjectId = aObjectId;
       
    38 }
       
    39 // -----------------------------------------------------------------------------
       
    40 // CUpnpResourcesBean::SetIsReadonlyL
       
    41 // (other items were commented in a header).
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 inline void CUpnpResourcesBean::SetIsReadonly(TBool aIsReadonly)
       
    45 {
       
    46         iIsReadonly = aIsReadonly;
       
    47 }
       
    48 // -----------------------------------------------------------------------------
       
    49 // CUpnpResourcesBean::SetIsThumbnail
       
    50 // (other items were commented in a header).
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 inline void CUpnpResourcesBean::SetIsThumbnail(TBool aIsThumbnail)
       
    54 {
       
    55         iIsThumbnail = aIsThumbnail;
       
    56 }
       
    57 // -----------------------------------------------------------------------------
       
    58 // CUpnpResourcesBean::Id
       
    59 // (other items were commented in a header).
       
    60 // -----------------------------------------------------------------------------
       
    61 //
       
    62 inline TInt64 CUpnpResourcesBean::Id() const
       
    63 {
       
    64         return iId;
       
    65 }
       
    66 // -----------------------------------------------------------------------------
       
    67 // CUpnpResourcesBean::ObjectId
       
    68 // (other items were commented in a header).
       
    69 // -----------------------------------------------------------------------------
       
    70 //
       
    71 inline TInt CUpnpResourcesBean::ObjectId() const
       
    72 {
       
    73         return iObjectId;
       
    74 }
       
    75 // -----------------------------------------------------------------------------
       
    76 // CUpnpResourcesBean::Path
       
    77 // (other items were commented in a header).
       
    78 // -----------------------------------------------------------------------------
       
    79 //
       
    80 inline TDesC& CUpnpResourcesBean::Path() const
       
    81 {
       
    82         return *iPath;
       
    83 }
       
    84 // -----------------------------------------------------------------------------
       
    85 // CUpnpResourcesBean::IsReadonly
       
    86 // (other items were commented in a header).
       
    87 // -----------------------------------------------------------------------------
       
    88 //
       
    89 inline TInt CUpnpResourcesBean::IsReadonly() const
       
    90 {
       
    91         return iIsReadonly;
       
    92 }
       
    93 // -----------------------------------------------------------------------------
       
    94 // CUpnpResourcesBean::IsThumbnail
       
    95 // (other items were commented in a header).
       
    96 // -----------------------------------------------------------------------------
       
    97 //
       
    98 inline TInt CUpnpResourcesBean::IsThumbnail() const
       
    99 {
       
   100         return iIsThumbnail;
       
   101 }
       
   102 // End of File