engine/inc/HttpClientObserver.h
changeset 2 29cda98b007e
equal deleted inserted replaced
1:5f8e5adbbed9 2:29cda98b007e
       
     1 /*
       
     2 * Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB
       
     3 *
       
     4 * All rights reserved.
       
     5 * This component and the accompanying materials are made available
       
     6 * under the terms of the License "Eclipse Public License v1.0"
       
     7 * which accompanies this distribution, and is available
       
     8 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 *
       
    10 * Initial Contributors:
       
    11 * EmbedDev AB - initial contribution.
       
    12 *
       
    13 * Contributors:
       
    14 *
       
    15 * Description:
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef _MHTTPCLIENTOBSERVER_H_
       
    20 #define _MHTTPCLIENTOBSERVER_H_
       
    21 
       
    22 #include <e32cmn.h>
       
    23 
       
    24 class CHttpClient;
       
    25 
       
    26 class MHttpClientObserver
       
    27 {
       
    28 public:
       
    29   virtual void Connected(CHttpClient* aHttpClient) = 0;
       
    30   virtual void Disconnected(CHttpClient* aHttpClient) = 0;
       
    31   virtual void CompleteL(CHttpClient* aHttpClient, TInt aError) = 0;
       
    32   virtual void Progress(CHttpClient* aHttpClient, TInt aBytes, TInt aTotalBytes) = 0;
       
    33   virtual void DownloadInfo(CHttpClient* aHttpClient, TInt aTotalBytes) = 0;
       
    34   virtual void FileError(TUint aError) = 0;
       
    35 };
       
    36 
       
    37 #endif