epoc32/include/sipaccessnetworkinfo.inl
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/sipaccessnetworkinfo.inl	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,83 +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        : sipaccessnetworkinfo.inl
    1.19 -* Part of     : SIP NetworkMonitor
    1.20 -* Implementation
    1.21 -* Version     : SIP/4.0
    1.22 -*
    1.23 -*/
    1.24 -
    1.25 -
    1.26 -
    1.27 -#ifndef TSIPACCESSNETWORKINFO_INL
    1.28 -#define TSIPACCESSNETWORKINFO_INL
    1.29 -
    1.30 -// -----------------------------------------------------------------------------
    1.31 -// TSIPAccessNetworkInfo::TSIPAccessNetworkInfo
    1.32 -// -----------------------------------------------------------------------------
    1.33 -//
    1.34 -inline TSIPAccessNetworkInfo::TSIPAccessNetworkInfo() :
    1.35 -	iNetworkMode( RMobilePhone::ENetworkModeUnknown ),	
    1.36 -	iMobileCountryCode( KNullDesC ),
    1.37 -	iMobileNetworkCode( KNullDesC ),
    1.38 -	iAreaKnown( EFalse ),
    1.39 -	iLocationAreaCode( 0 ),
    1.40 -	iCellId( 0 )
    1.41 -	{	
    1.42 -	}
    1.43 -
    1.44 -// -----------------------------------------------------------------------------
    1.45 -// TSIPAccessNetworkInfo::TSIPAccessNetworkInfo
    1.46 -// -----------------------------------------------------------------------------
    1.47 -//
    1.48 -inline TSIPAccessNetworkInfo::TSIPAccessNetworkInfo(
    1.49 -	TPckgBuf<RMobilePhone::TMobilePhoneNetworkInfoV2>& aNetworkInfoPckg,
    1.50 -	RMobilePhone::TMobilePhoneLocationAreaV1& aLocationArea ) :
    1.51 -	iNetworkMode( RMobilePhone::ENetworkModeUnknown ),
    1.52 -	iMobileCountryCode( KNullDesC ),
    1.53 -	iMobileNetworkCode( KNullDesC ),
    1.54 -	iAreaKnown( aLocationArea.iAreaKnown ),
    1.55 -	iLocationAreaCode( aLocationArea.iLocationAreaCode ),
    1.56 -	iCellId( aLocationArea.iCellId )
    1.57 -	{
    1.58 -	iNetworkMode = aNetworkInfoPckg().iMode;
    1.59 -	iMobileCountryCode = aNetworkInfoPckg().iCountryCode;
    1.60 -	iMobileNetworkCode = aNetworkInfoPckg().iNetworkId;
    1.61 -	}
    1.62 -
    1.63 -// -----------------------------------------------------------------------------
    1.64 -// TSIPAccessNetworkInfo::~TSIPAccessNetworkInfo
    1.65 -// -----------------------------------------------------------------------------
    1.66 -//
    1.67 -inline TSIPAccessNetworkInfo::~TSIPAccessNetworkInfo()
    1.68 -	{
    1.69 -	}
    1.70 -
    1.71 -// -----------------------------------------------------------------------------
    1.72 -// TSIPAccessNetworkInfo::operator==
    1.73 -// -----------------------------------------------------------------------------
    1.74 -//
    1.75 -inline TBool TSIPAccessNetworkInfo::operator==( 
    1.76 -    const TSIPAccessNetworkInfo& aNetInfo ) const
    1.77 -	{
    1.78 -	return ( iNetworkMode == aNetInfo.iNetworkMode &&
    1.79 -			 iMobileCountryCode == aNetInfo.iMobileCountryCode &&
    1.80 -			 iMobileNetworkCode == aNetInfo.iMobileNetworkCode &&
    1.81 -			 iAreaKnown == aNetInfo.iAreaKnown &&
    1.82 -			 iLocationAreaCode == aNetInfo.iLocationAreaCode &&
    1.83 -			 iCellId == aNetInfo.iCellId );
    1.84 -	}
    1.85 -
    1.86 -#endif // TSIPACCESSNETWORKINFO_INL