1.1 --- a/epoc32/include/http/thttpevent.inl Tue Mar 16 16:12:26 2010 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,114 +0,0 @@
1.4 -// Copyright (c) 2001-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 -
1.20 -inline THTTPEvent::THTTPEvent(TInt aStatus, TUint aUID)
1.21 -: iStatus(aStatus), iUID(aUID), iIsSessionEventFlag(EFalse)
1.22 - {
1.23 - }
1.24 -
1.25 -inline THTTPEvent::THTTPEvent(TStandardEvent aStatus)
1.26 -: iStatus(aStatus), iUID(KHTTPUid), iIsSessionEventFlag(EFalse)
1.27 - {
1.28 - }
1.29 -
1.30 -inline THTTPEvent::THTTPEvent(TTransactionEvent aStatus)
1.31 -: iStatus(aStatus), iUID(KHTTPUid), iIsSessionEventFlag(EFalse)
1.32 - {
1.33 - }
1.34 -
1.35 -inline THTTPEvent& THTTPEvent::operator=(TStandardEvent aStatus)
1.36 - {
1.37 - iUID = KHTTPUid;
1.38 - iStatus = aStatus;
1.39 - return *this;
1.40 - }
1.41 -
1.42 -inline THTTPEvent& THTTPEvent::operator=(TTransactionEvent aStatus)
1.43 - {
1.44 - iUID = KHTTPUid;
1.45 - iStatus = aStatus;
1.46 - return *this;
1.47 - }
1.48 -
1.49 -inline TBool THTTPEvent::operator==(THTTPEvent aThat) const
1.50 - {
1.51 - return (iStatus == aThat.iStatus && iUID == aThat.iUID);
1.52 - }
1.53 -
1.54 -inline TBool THTTPEvent::operator!=(THTTPEvent aThat) const
1.55 - {
1.56 - return !(*this == aThat);
1.57 - }
1.58 -
1.59 -inline TBool THTTPEvent::operator==(TStandardEvent aStatus) const
1.60 - {
1.61 - return (iStatus == aStatus && iUID == KHTTPUid);
1.62 - }
1.63 -
1.64 -inline TBool THTTPEvent::operator!=(TStandardEvent aStatus) const
1.65 - {
1.66 - return !(*this == aStatus);
1.67 - }
1.68 -
1.69 -inline TBool THTTPEvent::operator==(TTransactionEvent aStatus) const
1.70 - {
1.71 - return (iStatus == aStatus && iUID == KHTTPUid);
1.72 - }
1.73 -
1.74 -inline TBool THTTPEvent::operator!=(TTransactionEvent aStatus) const
1.75 - {
1.76 - return !(*this == aStatus);
1.77 - }
1.78 -
1.79 -inline TBool THTTPEvent::IsSessionEvent() const
1.80 - {
1.81 - return iIsSessionEventFlag;
1.82 - }
1.83 -
1.84 -inline THTTPSessionEvent::THTTPSessionEvent(TInt aStatus, TUint aUID)
1.85 -: THTTPEvent(aStatus, aUID)
1.86 - {
1.87 - iIsSessionEventFlag = ETrue;
1.88 - }
1.89 -
1.90 -inline THTTPSessionEvent::THTTPSessionEvent(TStandardEvent aStatus)
1.91 -: THTTPEvent(aStatus)
1.92 - {
1.93 - iIsSessionEventFlag = ETrue;
1.94 - }
1.95 -
1.96 -inline THTTPSessionEvent::THTTPSessionEvent(TSessionEvent aStatus)
1.97 -: THTTPEvent(aStatus)
1.98 - {
1.99 - iIsSessionEventFlag = ETrue;
1.100 - }
1.101 -
1.102 -inline THTTPSessionEvent& THTTPSessionEvent::operator=(TSessionEvent aStatus)
1.103 - {
1.104 - iUID = KHTTPUid;
1.105 - iStatus = aStatus;
1.106 - return *this;
1.107 - }
1.108 -
1.109 -inline TBool THTTPSessionEvent::operator==(TSessionEvent aStatus) const
1.110 - {
1.111 - return (iStatus == aStatus && iUID == KHTTPUid);
1.112 - }
1.113 -
1.114 -inline TBool THTTPSessionEvent::operator!=(TSessionEvent aStatus) const
1.115 - {
1.116 - return !(*this == aStatus);
1.117 - }