graphics/common/inc/DataWrapperBase.inl
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 /*
       
     2 * Copyright (c) 2005-2009 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 the License "Symbian Foundation License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 inline RFs& CDataWrapperBase::FileServer()
       
    20 	{ 
       
    21 	return iFs;
       
    22 	}
       
    23 
       
    24 inline TInt CDataWrapperBase::GetHandle() const
       
    25 	{
       
    26 	return iHandle;
       
    27 	}
       
    28 
       
    29 inline void CDataWrapperBase::SetHandle(TInt aHandle)
       
    30 	{
       
    31 	iHandle=aHandle;
       
    32 	}
       
    33 	
       
    34 inline TInt CDataWrapperBase::GetIdentifier() const
       
    35 	{
       
    36 	return iIdentifier;
       
    37 	}
       
    38 
       
    39 inline void CDataWrapperBase::SetIdentifier(TInt aIdentifier)
       
    40 	{
       
    41 	iIdentifier=aIdentifier;
       
    42 	}
       
    43 
       
    44 const TWsGraphicId& CDataWrapperBase::GetId()
       
    45 	{
       
    46 	return iId;
       
    47 	}
       
    48 
       
    49 inline void CDataWrapperBase::SetId(const TWsGraphicId& aId)
       
    50 	{
       
    51 	iId.Set(aId.Uid());
       
    52 	}