commsfwsupport/commselements/rootserver/inc/rsstd.inl
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2003-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 //
       
    15 
       
    16 #if !defined(__RSSTD_INL__)
       
    17 #define __RSSTD_INL__
       
    18 
       
    19 inline RootServer::TRSModuleState CCommsProviderModule::GetState() const
       
    20    /** Returns state for a CPM
       
    21      */    
       
    22     {
       
    23     return iState;
       
    24     }
       
    25 
       
    26 inline const CommsFW::TCFModuleNameF& CCommsProviderModule::GetName() const
       
    27    /** Returns name for a CPM
       
    28      */    
       
    29     {
       
    30     return iName;
       
    31     }
       
    32 
       
    33 inline const TFileName& CCommsProviderModule::GetDll() const
       
    34    /** Returns Dll filename for a CPM
       
    35      */
       
    36     {
       
    37     return iDll;
       
    38     }
       
    39     
       
    40 inline RHeap* CCommsProviderModule::GetHeapPtr() const
       
    41    /** Returns heap pointer for a CPM
       
    42      */
       
    43     {
       
    44 	return iHeapPtr;
       
    45 	}  
       
    46   
       
    47 inline const CommsFW::RCFChannel& CCommsProviderModule::GetSendChannel() const
       
    48 	{
       
    49 	return iSend;
       
    50 	}
       
    51 	
       
    52 inline const CommsFW::RCFChannel& CCommsProviderModule::GetRecvChannel() const 
       
    53 	{
       
    54 	return iRecv;
       
    55 	}
       
    56   
       
    57 inline TBool CCommsProviderModule::IsSticky() const
       
    58 	{
       
    59 	return iIsSticky;
       
    60 	}
       
    61 
       
    62 inline TBool CCommsProviderModule::IsServer() const
       
    63 	{
       
    64 	return iIsServer;
       
    65 	}
       
    66 
       
    67 #if defined(SYMBIAN_C32ROOT_API_V3)
       
    68 
       
    69 inline TUint32 CCommsProviderModule::ControlFlags() const
       
    70 	{
       
    71 	return iControlFlags;
       
    72 	}
       
    73 
       
    74 inline void CCommsProviderModule::SetControlFlags(TUint32 aFlags)
       
    75 	{
       
    76 	iControlFlags = aFlags;
       
    77 	}
       
    78 
       
    79 #endif
       
    80 
       
    81 inline TBool CNotifySuddenDeathContainer::Match(MNotifySuddenDeath* aNotifier) const
       
    82 	{
       
    83 	return iNotifier == aNotifier;
       
    84 	}
       
    85 
       
    86 #endif
       
    87