epoc32/include/es_enum.inl
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/es_enum.inl	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,145 +0,0 @@
     1.4 -// Copyright (c) 2002-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 TConnArgBase::TConnArgBase()
    1.20 -: iVersion(0)
    1.21 -/**
    1.22 -Default Constructor
    1.23 -
    1.24 -*/
    1.25 -	{}
    1.26 -
    1.27 -inline TConnArgBase::TConnArgBase(TUint8 aVersion)
    1.28 -: iVersion(aVersion)
    1.29 -/**
    1.30 -Constructor
    1.31 -
    1.32 -@param aVersion, Version number of the connection arguemt.
    1.33 -*/
    1.34 -	{
    1.35 -	iReserved[0]=0;
    1.36 -	iReserved[1]=0;
    1.37 -	iReserved[2]=0;
    1.38 -	}
    1.39 -
    1.40 -inline TUint8 TConnArgBase::Version() const
    1.41 -/**
    1.42 -Responsible for retrieving the version number for the Socket Connection argument.
    1.43 -
    1.44 -@return version number of the connection arguemt.
    1.45 -*/
    1.46 -	{
    1.47 -	return iVersion;
    1.48 -	}
    1.49 -
    1.50 -inline TConnectionInfo::TConnectionInfo()
    1.51 -: TConnArgBase(KConnArgVersion1), iIapId(0), iNetId(0)
    1.52 -/**
    1.53 -Default Constructor
    1.54 -
    1.55 -*/
    1.56 -	{}
    1.57 -
    1.58 -inline TConnectionInfo::TConnectionInfo(TUint32 aIapId, TUint32 aNetId)
    1.59 -: TConnArgBase(KConnArgVersion1), iIapId(aIapId), iNetId(aNetId)
    1.60 -/**
    1.61 -Constructor
    1.62 -
    1.63 -*/
    1.64 -	{}
    1.65 -
    1.66 -inline TConnectionInfo::TConnectionInfo(TUint8 aVersion, TUint32 aIapId, TUint32 aNetId)
    1.67 -: TConnArgBase(aVersion), iIapId(aIapId), iNetId(aNetId)
    1.68 -/**
    1.69 -Constructor
    1.70 -
    1.71 -*/
    1.72 -	{}
    1.73 -
    1.74 -inline TConnectionInfoV2::TConnectionInfoV2()
    1.75 -: TConnectionInfo(KConnArgVersion2, 0, 0)
    1.76 -/**
    1.77 -Default Constructor
    1.78 -
    1.79 -*/
    1.80 -	{
    1.81 -	}
    1.82 -
    1.83 -inline TConnectionInfoV2::TConnectionInfoV2(TUint32 aIapId, TUint32 aNetId, TConnectionType aConnectionType)
    1.84 -: TConnectionInfo(KConnArgVersion2, aIapId, aNetId), iConnectionType(aConnectionType)
    1.85 -/**
    1.86 -Constructor
    1.87 -
    1.88 -@param aIapId
    1.89 -@param aNetId
    1.90 -@param aConnectionType
    1.91 -*/
    1.92 -	{
    1.93 -	}
    1.94 -
    1.95 -inline TConnectionInfoV2::TConnectionInfoV2(TUint8 aVersion, TUint32 aIapId, TUint32 aNetId, TConnectionType aConnectionType)
    1.96 -: TConnectionInfo(aVersion, aIapId, aNetId), iConnectionType(aConnectionType)
    1.97 -/**
    1.98 -Constructor
    1.99 -
   1.100 -@param aVersion
   1.101 -@param aIapId
   1.102 -@param aNetId
   1.103 -@param aConnectionType
   1.104 -*/
   1.105 -	{
   1.106 -	}
   1.107 -
   1.108 -inline TConnectionType TConnectionInfoV2::ConnectionType()
   1.109 -/**
   1.110 -Retrieve the type of socket connection.(version 2)
   1.111 -
   1.112 -@return type of connection.
   1.113 -*/
   1.114 -	{
   1.115 -	return iConnectionType;
   1.116 -	}
   1.117 -
   1.118 -inline TSubConnectionInfo::TSubConnectionInfo()
   1.119 -: TConnArgBase(KConnArgVersion2), iSubConnectionUniqueId(0), iConnectionType(EConnectionGeneric), iTimeStarted(0)
   1.120 -/**
   1.121 -Default Constructor
   1.122 -*/
   1.123 -	{
   1.124 -	}
   1.125 -
   1.126 -inline TConnectionClientInfo::TConnectionClientInfo()
   1.127 -: iProcessId(), iUid(TUid::Null()), iThreadId()
   1.128 -	{}
   1.129 -
   1.130 -inline  TConnectionClientInfo::TConnectionClientInfo(TUint aProcId, TUint aUid, TUint aThreadId)
   1.131 -: iProcessId(aProcId), iUid(TUid::Uid(aUid)), iThreadId(aThreadId)
   1.132 -	{}
   1.133 -
   1.134 -inline TConnectionSocketInfo::TConnectionSocketInfo()
   1.135 -: iAddressFamily(KAFUnspec), iProtocol(0), iSourceAddress(), iDestinationAddress()
   1.136 -	{}
   1.137 -
   1.138 -inline TConnectionEnumArg::TConnectionEnumArg()
   1.139 -: TConnArgBase(KConnArgVersion1), iIndex(0), iCount(0)
   1.140 -	{}
   1.141 -
   1.142 -inline TConnectionGetClientInfoArg::TConnectionGetClientInfoArg()
   1.143 -: TConnArgBase(KConnArgVersion1), iIndex(0), iClientInfo()
   1.144 -	{}
   1.145 -
   1.146 -inline TConnectionGetSocketInfoArg::TConnectionGetSocketInfoArg()
   1.147 -: TConnArgBase(KConnArgVersion1), iIndex(0), iSocketInfo()
   1.148 -	{}