epoc32/include/es_sock.inl
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/es_sock.inl	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,106 +0,0 @@
     1.4 -// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// 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.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -inline TSockIOBufC::TSockIOBufC()	: TPckgC<TSockIO>(iArgs)
    1.20 -
    1.21 -	{}
    1.22 -
    1.23 -inline TSockOpenBufC::TSockOpenBufC()	: TPckgC<TSockOpen>(iArgs)
    1.24 -
    1.25 -	{}
    1.26 -
    1.27 -inline SSockAddr *TSockAddr::BasePtr() const
    1.28 -/**
    1.29 -This function returns the end point to a connection.
    1.30 -
    1.31 -@return socket address
    1.32 -*/
    1.33 -	{ return (SSockAddr*)iBuf; }
    1.34 -
    1.35 -
    1.36 -inline TUint8 *TSockAddr::UserPtr() const
    1.37 -/** Gets an offset to place data after the base class data. This function is mainly 
    1.38 -intended for use in derived classes.
    1.39 -@return Pointer to derived class intended data area */
    1.40 -	{ return (TUint8*)(BasePtr()+1); }
    1.41 -
    1.42 -inline TUint16 ByteOrder::Swap16(TUint aVal)
    1.43 -/** 
    1.44 -Reverses the order of the bytes in a 16-bit value.
    1.45 -	
    1.46 -@param aVal The value to reverse. 
    1.47 -@return The reversed value. 
    1.48 -*/
    1.49 -	{ return ByteOrder::Swap16((TUint16)aVal); }
    1.50 -
    1.51 -inline TNameRecord::TNameRecord()
    1.52 -	:iName(),iAddr(),iFlags(0)	
    1.53 -/** 
    1.54 -Trivial C++ constructor. This sets the fields in the 
    1.55 -class to suitable default values. 
    1.56 -*/
    1.57 -	{}
    1.58 -
    1.59 -inline TNifProgress::TNifProgress()	:iStage(0), iError(KErrNone) 
    1.60 -/**
    1.61 -It sets the iStage data member to 0 and the iError data member to KErrNone.
    1.62 -*/
    1.63 -	{}
    1.64 -
    1.65 -inline RSubConnection::TEventFilter::TEventFilter(TInt32 aEventGroupId, TUint32 aEventMask)
    1.66 -	: iEventGroupUid(aEventGroupId), iEventMask(aEventMask)
    1.67 -	{
    1.68 -	}
    1.69 -
    1.70 -inline TUint32 CSubConParameterFamily::Id()
    1.71 -/**
    1.72 -Fetch the identity of the sub-connection parameter family
    1.73 -*/
    1.74 -	{
    1.75 -	return iFamilyId;
    1.76 -	}
    1.77 -
    1.78 -inline TAccessPointInfo::TAccessPointInfo(TUint aApId)
    1.79 -/** Initialises the object using the specified 32-bit long integer ID of the access point.
    1.80 -
    1.81 -@param aApId The 32-bit long integer ID of the access point to initialise the object with. */
    1.82 -	{
    1.83 -	iAccessPointId = aApId;
    1.84 -	}
    1.85 -
    1.86 -inline TUint TAccessPointInfo::AccessPoint() const
    1.87 -/** Returns the 32-bit long integer ID of the access point.
    1.88 -
    1.89 -@return The 32-bit long integer ID of the access point. */
    1.90 -	{
    1.91 -	return iAccessPointId;
    1.92 -	}
    1.93 -
    1.94 -inline void TAccessPointInfo::SetAccessPoint(TUint aAccessPoint)
    1.95 -/** Sets the 32-bit long integer ID of the access point.
    1.96 -
    1.97 -@param aAccessPoint The 32-bit long integer ID of the access point. */
    1.98 -	{
    1.99 -	iAccessPointId = aAccessPoint;
   1.100 -	}
   1.101 -	
   1.102 -inline TBool TAccessPointInfo::operator== (const TAccessPointInfo& aRhs) const
   1.103 -/** Compares the 32-bit long integer ID of the specified object with our own.
   1.104 -
   1.105 -@param aRhs The TAccessPointInfo to compare.
   1.106 -@return A boolean value of ETrue if the TAccessPointInfo object has the same ID or false otherwise. */
   1.107 -	{
   1.108 -	return iAccessPointId == aRhs.iAccessPointId;
   1.109 -	}