epoc32/include/commdbconnpref.inl
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
--- a/epoc32/include/commdbconnpref.inl	Wed Mar 31 12:27:01 2010 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,93 +0,0 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// 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
-// which accompanies this distribution, and is available
-// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-
-
-/**
- @file
- @deprecated since v9.1. Functionality is replaced with commsdat.
-*/
-
-inline TBool TCommDbConnPref::operator==(const TCommDbConnPref& aPref) const
-/**
-Overloaded function for operator "==" 
-
-@param aPref Reference to the class TCommDbConnPref
-@return ETrue if Successful if both the objects are equal else EFalse
-*/
-	{
-	return (Compare(aPref) == 0);
-	}
-
-inline TBool TCommDbConnPref::operator!=(const TCommDbConnPref& aPref) const
-/**
-Overloaded function for operator "!=" 
-
-@param aPref Reference to the class TCommDbConnPref
-@return Etrue if Successful if the objects are not equal else EFalse
-*/
-	{
-	return (Compare(aPref) != 0);
-	}
-
-inline SCommDbConnPref* TCommDbConnPref::PrefPtr() const
-	{
-#ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
-	return reinterpret_cast<SCommDbConnPref*>(UserPtr());
-#else
-	return (SCommDbConnPref*)UserPtr();
-#endif
-	}
-
-inline TCommDbConnPref& TCommDbConnPref::Cast(const TConnPref& aPref)
-/**
-Casts the TConnPref object to TCommDbConnPref
-
-@param aPref Connection preferences.
-@return Reference to TCommDbConnPref
-*/
-	{
-#ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
-	// converting const TConnPref* to const TCommDbConnPref* and then casting away the constness
-	return *const_cast<TCommDbConnPref*>((reinterpret_cast<const TCommDbConnPref*>(&aPref)));
-#else
-	return *((TCommDbConnPref*)&aPref);
-#endif
-	}
-
-inline SCommDbMultiConnPref* TCommDbMultiConnPref::PrefPtr() const
-	{
-#ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
-	return reinterpret_cast<SCommDbMultiConnPref*>(UserPtr());
-#else
-	return (SCommDbMultiConnPref*)UserPtr();
-#endif
-	}
-
-inline TCommDbMultiConnPref& TCommDbMultiConnPref::Cast(const TConnPref& aPref)
-/**
-Casts the TConnPref object to TCommDbMultiConnPref
-
-@param aPref Connection preferences.
-@return Reference to TCommDbMultiConnPref
-*/
-	{
-#ifdef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY
-	// converting const TConnPref* to const TCommDbMultiConnPref* and then casting away the constness
-	return *const_cast<TCommDbMultiConnPref*>((reinterpret_cast<const TCommDbMultiConnPref*>(&aPref)));
-#else
-	return *((TCommDbMultiConnPref*)&aPref);
-#endif
-	}