applayerpluginsandutils/httpprotocolplugins/httpclient/thttpconnectcallback.h
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __THTTPCONNECTCALLBACK_H__
       
    17 #define __THTTPCONNECTCALLBACK_H__
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <http/mhttptransactioncallback.h>
       
    21 
       
    22 class MHttpConnectObserver;
       
    23 
       
    24 class THttpConnectCallback : public MHTTPTransactionCallback
       
    25 	{
       
    26 public:
       
    27 
       
    28 	THttpConnectCallback(MHttpConnectObserver& aObserver);
       
    29 
       
    30 private:	// methods from MHTTPTransactionCallback
       
    31 
       
    32 	virtual void MHFRunL(RHTTPTransaction aTransaction, const THTTPEvent& aEvent);
       
    33 	virtual TInt MHFRunError(TInt aError, RHTTPTransaction aTransaction, const THTTPEvent& aEvent);
       
    34 
       
    35 private:
       
    36 
       
    37 	MHttpConnectObserver&	iObserver;
       
    38 
       
    39 	};
       
    40 
       
    41 #endif	// __THTTPCONNECTCALLBACK_H__