browserui/browser/BrowserAppInc/BrowserDownloadUtil.h
changeset 51 48e827313edd
parent 37 481242ead638
child 53 f427d27b98d8
equal deleted inserted replaced
37:481242ead638 51:48e827313edd
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Download handling utilities.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef BROWSER_DOWNLOAD_UTIL_H
       
    20 #define BROWSER_DOWNLOAD_UTIL_H
       
    21 
       
    22 // INCLUDE FILES
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 
       
    28 class MApiProvider;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 * Execute the Downloads List in RunL.
       
    34 */
       
    35 class CAsyncDownloadsListExecuter : public CActive
       
    36     {
       
    37     public:
       
    38     
       
    39         CAsyncDownloadsListExecuter( MApiProvider& aApiProvider );
       
    40         ~CAsyncDownloadsListExecuter();
       
    41         
       
    42     public:
       
    43     
       
    44         void Start();
       
    45         
       
    46     private:
       
    47     
       
    48         void DoCancel();
       
    49         void RunL();
       
    50         TInt RunError( TInt aError );
       
    51         
       
    52     private: // Data
       
    53     
       
    54         MApiProvider& iApiProvider;
       
    55     };
       
    56 
       
    57 #endif // BROWSER_DOWNLOAD_UTIL_H
       
    58 
       
    59 // End of file