genericservices/taskscheduler/SCHSVR/SCHCLI.INL
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // SCHCLIENT.INL
       
    15 // inline functions for CClientProxy
       
    16 // 
       
    17 //
       
    18 
       
    19 inline TInt CClientProxy::Offset()
       
    20 	{return (_FOFF(CClientProxy, iPriLink));}
       
    21 
       
    22 inline void CClientProxy::Remove()
       
    23 	{iPriLink.Deque();}
       
    24 
       
    25 inline void CClientProxy::DecUsers()
       
    26 	{iUsers--;}
       
    27 
       
    28 inline void CClientProxy::IncUsers()
       
    29 	{iUsers++;}
       
    30 
       
    31 inline TInt CClientProxy::Users() const
       
    32 	{return iUsers;}
       
    33 
       
    34 inline void CClientProxy::ReadyToExecute()
       
    35 	{iReadyToExecute=ETrue;}
       
    36 
       
    37 inline TBool CClientProxy::IsReadyToExecute() const
       
    38 	{return iReadyToExecute;}
       
    39 
       
    40 inline TInt CClientProxy::Priority() const
       
    41 	{return iPriLink.iPriority;}