diff -r 2fe1408b6811 -r e1b950c65cb4 epoc32/include/http/thttpevent.inl --- a/epoc32/include/http/thttpevent.inl Tue Mar 16 16:12:26 2010 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,114 +0,0 @@ -// Copyright (c) 2001-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: -// - - -inline THTTPEvent::THTTPEvent(TInt aStatus, TUint aUID) -: iStatus(aStatus), iUID(aUID), iIsSessionEventFlag(EFalse) - { - } - -inline THTTPEvent::THTTPEvent(TStandardEvent aStatus) -: iStatus(aStatus), iUID(KHTTPUid), iIsSessionEventFlag(EFalse) - { - } - -inline THTTPEvent::THTTPEvent(TTransactionEvent aStatus) -: iStatus(aStatus), iUID(KHTTPUid), iIsSessionEventFlag(EFalse) - { - } - -inline THTTPEvent& THTTPEvent::operator=(TStandardEvent aStatus) - { - iUID = KHTTPUid; - iStatus = aStatus; - return *this; - } - -inline THTTPEvent& THTTPEvent::operator=(TTransactionEvent aStatus) - { - iUID = KHTTPUid; - iStatus = aStatus; - return *this; - } - -inline TBool THTTPEvent::operator==(THTTPEvent aThat) const - { - return (iStatus == aThat.iStatus && iUID == aThat.iUID); - } - -inline TBool THTTPEvent::operator!=(THTTPEvent aThat) const - { - return !(*this == aThat); - } - -inline TBool THTTPEvent::operator==(TStandardEvent aStatus) const - { - return (iStatus == aStatus && iUID == KHTTPUid); - } - -inline TBool THTTPEvent::operator!=(TStandardEvent aStatus) const - { - return !(*this == aStatus); - } - -inline TBool THTTPEvent::operator==(TTransactionEvent aStatus) const - { - return (iStatus == aStatus && iUID == KHTTPUid); - } - -inline TBool THTTPEvent::operator!=(TTransactionEvent aStatus) const - { - return !(*this == aStatus); - } - -inline TBool THTTPEvent::IsSessionEvent() const - { - return iIsSessionEventFlag; - } - -inline THTTPSessionEvent::THTTPSessionEvent(TInt aStatus, TUint aUID) -: THTTPEvent(aStatus, aUID) - { - iIsSessionEventFlag = ETrue; - } - -inline THTTPSessionEvent::THTTPSessionEvent(TStandardEvent aStatus) -: THTTPEvent(aStatus) - { - iIsSessionEventFlag = ETrue; - } - -inline THTTPSessionEvent::THTTPSessionEvent(TSessionEvent aStatus) -: THTTPEvent(aStatus) - { - iIsSessionEventFlag = ETrue; - } - -inline THTTPSessionEvent& THTTPSessionEvent::operator=(TSessionEvent aStatus) - { - iUID = KHTTPUid; - iStatus = aStatus; - return *this; - } - -inline TBool THTTPSessionEvent::operator==(TSessionEvent aStatus) const - { - return (iStatus == aStatus && iUID == KHTTPUid); - } - -inline TBool THTTPSessionEvent::operator!=(TSessionEvent aStatus) const - { - return !(*this == aStatus); - }