epoc32/include/sipbearermonitor.inl
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/sipbearermonitor.inl	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,95 +0,0 @@
     1.4 -/*
     1.5 -* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 -* All rights reserved.
     1.7 -* This component and the accompanying materials are made available
     1.8 -* 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
     1.9 -* which accompanies this distribution, and is available
    1.10 -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 -*
    1.12 -* Initial Contributors:
    1.13 -* Nokia Corporation - initial contribution.
    1.14 -*
    1.15 -* Contributors:
    1.16 -*
    1.17 -* Description:
    1.18 -* Name          : sipbearermonitor.inl
    1.19 -* Part of       : SIP NetworkMonitor
    1.20 -* Version       : SIP/4.0 
    1.21 -*
    1.22 -*/
    1.23 -
    1.24 -
    1.25 -
    1.26 -#ifndef CSIPBEARERMONITOR_INL
    1.27 -#define CSIPBEARERMONITOR_INL
    1.28 -
    1.29 -
    1.30 -// ---------------------------------------------------------------------------
    1.31 -// TSIPBearerParams::TSIPBearerParams
    1.32 -// ---------------------------------------------------------------------------
    1.33 -//
    1.34 -inline TSIPBearerParams::TSIPBearerParams( 
    1.35 -    MSIPBearerOwner& aOwner,
    1.36 -    TInt aIapId,
    1.37 -    TInt aError,
    1.38 -    MSIPNetworkInfoObserver& aNetworkInfoObserver ) :
    1.39 -    iOwner( aOwner ),
    1.40 -    iIapId( aIapId ),
    1.41 -    iError( aError ),
    1.42 -    iNetworkInfoObserver( aNetworkInfoObserver )
    1.43 -    {
    1.44 -    }
    1.45 -
    1.46 -// ---------------------------------------------------------------------------
    1.47 -// CSIPBearerMonitor::~CSIPBearerMonitor
    1.48 -// ---------------------------------------------------------------------------
    1.49 -//
    1.50 -inline CSIPBearerMonitor::~CSIPBearerMonitor()
    1.51 -    {
    1.52 -	REComSession::DestroyedImplementation( iInstanceKey );
    1.53 -	}
    1.54 -
    1.55 -// ---------------------------------------------------------------------------
    1.56 -// CSIPBearerMonitor::State
    1.57 -// ---------------------------------------------------------------------------
    1.58 -//
    1.59 -inline MSIPNetworkObserver::TNetworkState CSIPBearerMonitor::State() const
    1.60 -    {
    1.61 -    return iState;
    1.62 -    }
    1.63 -
    1.64 -// ---------------------------------------------------------------------------
    1.65 -// CSIPBearerMonitor::RefreshL
    1.66 -// ---------------------------------------------------------------------------
    1.67 -//			
    1.68 -inline void CSIPBearerMonitor::RefreshL( TInt /*aError*/ )
    1.69 -    {
    1.70 -	}
    1.71 -
    1.72 -// ---------------------------------------------------------------------------
    1.73 -// CSIPBearerMonitor::ContinueMonitoring
    1.74 -// By default, all other error codes than KErrNone lead to negative result
    1.75 -// ---------------------------------------------------------------------------
    1.76 -//	
    1.77 -inline TBool CSIPBearerMonitor::ContinueMonitoring( TInt aError )
    1.78 -    {    
    1.79 -    return aError == KErrNone;
    1.80 -    }
    1.81 -
    1.82 -// ---------------------------------------------------------------------------
    1.83 -// CSIPBearerMonitor::CSIPBearerMonitor
    1.84 -// ---------------------------------------------------------------------------
    1.85 -//
    1.86 -inline CSIPBearerMonitor::CSIPBearerMonitor( TAny* aParams ) :
    1.87 -    iParent( reinterpret_cast< TSIPBearerParams* >( aParams )->iOwner ),
    1.88 -    iIapId( reinterpret_cast< TSIPBearerParams* >( aParams )->iIapId ),
    1.89 -	iError( reinterpret_cast< TSIPBearerParams* >( aParams )->iError ),
    1.90 -	iNetworkInfoObserver( reinterpret_cast< TSIPBearerParams* >
    1.91 -		( aParams )->iNetworkInfoObserver )
    1.92 -	{
    1.93 -	}
    1.94 -
    1.95 -#endif // CSIPBEARERMONITOR_INL
    1.96 -
    1.97 -// End of File
    1.98 -