epoc32/include/elements/metadata.inl
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /**
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 * All rights reserved.
     3 // This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 // which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 *
     8 // Initial Contributors:
     9 * Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    10 //
    11 *
    11 // Contributors:
    12 * Contributors:
    12 //
    13 *
    13 // Description:
    14 * Description:
    14 //
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
    15 
    22 /**
    16 /**
    23  @file MetaData.inl
    17  @file 
    24  @internalTechnology
    18  @internalTechnology
    25 */
    19 */
    26 
    20 
    27 #ifndef __METADATA_INL__
    21 #ifndef __E_METADATA_INL__
    28 #define __METADATA_INL__
    22 #define __E_METADATA_INL__
    29 
    23 
    30 namespace Meta
    24 namespace Meta
    31 {
    25 {
    32 
    26 
    33 
    27 
    34 STypeId::STypeId()
    28 STypeId STypeId::CreateSTypeId()
    35 /**
    29 /**
    36  * Constructor
    30  * Constructor
    37  */
    31  */
    38 	{
    32 	{
    39 	iUid.iUid = 0;
    33 	STypeId id;
    40 	iType = 0;
    34 	id.iUid.iUid = 0;
       
    35 	id.iType = 0;
       
    36 	return id;
    41 	}
    37 	}
    42 
    38 
    43 STypeId::STypeId(TUint32 aUid, TUint32 aTypeId)
    39 STypeId STypeId::CreateSTypeId(TUint32 aUid, TUint32 aTypeId)
    44 /**
    40 /**
    45  * Constructor
    41  * Constructor
    46  */
    42  */
    47 	{
    43 	{
    48 	iUid.iUid = aUid;
    44 	STypeId id;
    49 	iType = aTypeId;
    45 	id.iUid.iUid = aUid;
       
    46 	id.iType = aTypeId;
       
    47 	return id;
    50 	}
    48 	}
    51 
    49 
    52 }	// namespace Meta
    50 }	// namespace Meta
    53 #endif	// __METADATA_INL__
    51 #endif	// __E_METADATA_INL__
       
    52