mmappfw_plat/mpx_common_api/inc/mpxmediabase.inl
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     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:  Inline functions for media base
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // -----------------------------------------------------------------------------
       
    21 // CMPXMediaBase::TValue::TValue
       
    22 // -----------------------------------------------------------------------------
       
    23 //    
       
    24 inline CMPXMediaBase::TValue::TValue(
       
    25     TAny* aValue,
       
    26     TInt aUid,
       
    27     TMPXAttributeType aType)
       
    28     :iValue(aValue),iUid(aUid),iType(aType)
       
    29     {
       
    30     }
       
    31 
       
    32 // -----------------------------------------------------------------------------
       
    33 // CMPXMediaBase::Count
       
    34 // -----------------------------------------------------------------------------
       
    35 //    
       
    36 inline TInt CMPXMediaBase::Count() const
       
    37     {
       
    38     ASSERT(iClientHandle&&iData);
       
    39     return iData->Count(iClientHandle);
       
    40     } 
       
    41 // END OF FILE