epoc32/include/rtp.inl
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/rtp.inl	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,253 +0,0 @@
     1.4 -// Copyright (c) 2004-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 -// Default constructor
    1.18 -// 
    1.19 -//
    1.20 -
    1.21 -
    1.22 -
    1.23 -inline RRtpSession::RRtpSession()
    1.24 -		: iPtr(NULL)
    1.25 -	{
    1.26 -	}
    1.27 -
    1.28 -
    1.29 -
    1.30 -
    1.31 -/**
    1.32 -Tests whether the RTP session represented by this handle is open.
    1.33 -
    1.34 -@return ETrue, if the session is open, false otherwise. 
    1.35 -*/
    1.36 -inline TBool RRtpSession::IsOpen() const
    1.37 -	{
    1.38 -	return (iPtr != NULL);
    1.39 -	}
    1.40 -
    1.41 -
    1.42 -
    1.43 -
    1.44 -/**
    1.45 -Tests whether this session handle represents the same session as
    1.46 -the one represented by the specified handle.
    1.47 -
    1.48 -@param aThat The handle of the session to be compared.
    1.49 -
    1.50 -@return ETrue, if the represented sessions are the same, false otherwise.
    1.51 -*/
    1.52 -inline TBool RRtpSession::operator == (RRtpSession aThat) const 
    1.53 -	{ 
    1.54 -	return aThat.iPtr == iPtr;
    1.55 -	}
    1.56 -
    1.57 -
    1.58 -
    1.59 -
    1.60 -/**
    1.61 -Tests whether this session handle represents a different session to the one
    1.62 -represented by the specified handle.
    1.63 -
    1.64 -@param aThat The handle of the session to be compared.
    1.65 -
    1.66 -@return ETrue, if the represented sessions are different, false otherwise.
    1.67 -*/
    1.68 -inline TBool RRtpSession::operator != (RRtpSession aThat) const 
    1.69 -	{
    1.70 -	return !(aThat == *this);
    1.71 -	}
    1.72 -
    1.73 -
    1.74 -
    1.75 -
    1.76 -/**
    1.77 -Default constructor
    1.78 -*/
    1.79 -inline RRtpSendSource::RRtpSendSource()
    1.80 -		: iPtr(NULL)
    1.81 -	{
    1.82 -	}
    1.83 -
    1.84 -
    1.85 -
    1.86 -/**
    1.87 -Tests whether the send stream represented by this handle is open.
    1.88 -
    1.89 -@return ETrue, if the send stream is open, false otherwise. 
    1.90 -*/
    1.91 -inline TBool RRtpSendSource::IsOpen() const
    1.92 -	{
    1.93 -	return (iPtr != NULL);
    1.94 -	}
    1.95 -
    1.96 -
    1.97 -
    1.98 -
    1.99 -/**
   1.100 -Tests whether this send stream handle represents the same send stream as
   1.101 -the one represented by the specified handle.
   1.102 -
   1.103 -@param aThat The handle of the send stream to be compared.
   1.104 -
   1.105 -@return ETrue, if the represented send streams are the same, false otherwise.
   1.106 -*/
   1.107 -inline TBool RRtpSendSource::operator == (RRtpSendSource aThat) const 
   1.108 -	{ 
   1.109 -	return aThat.iPtr == iPtr;
   1.110 -	}
   1.111 -
   1.112 -
   1.113 -
   1.114 -
   1.115 -/**
   1.116 -Tests whether this send stream handle represents a different send stream to the one
   1.117 -represented by the specified handle.
   1.118 -
   1.119 -@param aThat The handle of the send stream to be compared.
   1.120 -
   1.121 -@return ETrue, if the represented send streams are different, false otherwise.
   1.122 -*/
   1.123 -inline TBool RRtpSendSource::operator != (RRtpSendSource aThat) const 
   1.124 -	{
   1.125 -	return !(aThat == *this);
   1.126 -	}
   1.127 -
   1.128 -
   1.129 -/**
   1.130 -Default constructor
   1.131 -*/
   1.132 -inline RRtpReceiveSource::RRtpReceiveSource()
   1.133 -		: iPtr(NULL)
   1.134 -	{
   1.135 -	}
   1.136 -
   1.137 -
   1.138 -
   1.139 -
   1.140 -/**
   1.141 -Tests whether the receive stream represented by this handle is open.
   1.142 -
   1.143 -@return ETrue, if the receive stream is open, false otherwise. 
   1.144 -*/
   1.145 -inline TBool RRtpReceiveSource::IsOpen() const
   1.146 -	{
   1.147 -	return (iPtr != NULL);
   1.148 -	}
   1.149 -
   1.150 -
   1.151 -
   1.152 -
   1.153 -/**
   1.154 -Tests whether this receive stream handle represents the same receive stream as
   1.155 -the one represented by the specified handle.
   1.156 -
   1.157 -@param aThat The handle of the receive stream to be compared.
   1.158 -
   1.159 -@return ETrue, if the represented receive streams are the same, false otherwise.
   1.160 -*/
   1.161 -inline TBool RRtpReceiveSource::operator == (RRtpReceiveSource aThat) const 
   1.162 -	{ 
   1.163 -	return aThat.iPtr == iPtr;
   1.164 -	}
   1.165 -
   1.166 -
   1.167 -
   1.168 -
   1.169 -/**
   1.170 -Tests whether this receive stream handle represents a different receive stream to the one
   1.171 -represented by the specified handle.
   1.172 -
   1.173 -@param aThat The handle of the receive stream to be compared.
   1.174 -
   1.175 -@return ETrue, if the represented receive streams are different, false otherwise.
   1.176 -*/
   1.177 -inline TBool RRtpReceiveSource::operator != (RRtpReceiveSource aThat) const 
   1.178 -	{
   1.179 -	return !(aThat == *this);
   1.180 -	}
   1.181 -
   1.182 -
   1.183 -/**
   1.184 -Default constructor.
   1.185 -*/
   1.186 -inline RRtpPacket::RRtpPacket()
   1.187 -		: iPtr(NULL)
   1.188 -	{
   1.189 -	}
   1.190 -
   1.191 -
   1.192 -
   1.193 -
   1.194 -/**
   1.195 -Tests whether this packet object is open.
   1.196 -
   1.197 -@return ETrue, if the packet is open, false otherwise.
   1.198 -*/
   1.199 -inline TBool RRtpPacket::IsOpen() const
   1.200 -	{
   1.201 -	return (iPtr != NULL);
   1.202 -	}
   1.203 -
   1.204 -
   1.205 -
   1.206 -
   1.207 -/**
   1.208 -Tests whether this packet handle represents the same packet as
   1.209 -the one represented by the specified handle.
   1.210 -
   1.211 -@param aThat The handle of the packet to be compared.
   1.212 -
   1.213 -@return ETrue, if the represented packets are the same, false otherwise.
   1.214 -*/
   1.215 -inline TBool RRtpPacket::operator == (RRtpPacket aThat) const 
   1.216 -	{ 
   1.217 -	return aThat.iPtr == iPtr;
   1.218 -	}
   1.219 -
   1.220 -
   1.221 -
   1.222 -
   1.223 -/**
   1.224 -Tests whether this packet handle represents a different packet to the one
   1.225 -represented by the specified handle.
   1.226 -
   1.227 -@param aThat The handle of the packet to be compared.
   1.228 -
   1.229 -@return ETrue, if the represented packets are different, false otherwise.
   1.230 -*/
   1.231 -inline TBool RRtpPacket::operator != (RRtpPacket aThat) const 
   1.232 -	{
   1.233 -	return !(aThat == *this);
   1.234 -	}
   1.235 -
   1.236 -/**
   1.237 -Gets the type of this event.
   1.238 -    
   1.239 -@return The event type.
   1.240 -*/
   1.241 -inline TRtpEventType TRtpEvent::Type() const 
   1.242 -	{ 
   1.243 -	return iType;
   1.244 -	}
   1.245 -	
   1.246 -/**	
   1.247 -Gets the event status.
   1.248 -	
   1.249 -The meaning of this depends on the event type.
   1.250 -	
   1.251 -@see TRtpEventType
   1.252 -*/
   1.253 -inline TInt TRtpEvent::Status() const 
   1.254 -	{ 
   1.255 -	return iStatus;
   1.256 -	}