browserutilities/downloadmgr/DownloadMgrUiLib/Inc/MDownloadHandlerObserver.h
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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:  Supports mixin class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef MDOWNLOADHANDLEROBSERVER_H
       
    21 #define MDOWNLOADHANDLEROBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class RHttpDownload;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 * Similar class to MApaEmbeddedDocObserver.
       
    33 */
       
    34 NONSHARABLE_CLASS( MDownloadHandlerObserver )
       
    35     {
       
    36     public:
       
    37 
       
    38         /**
       
    39         * Notify client that the content handler has finished handling 
       
    40         * the content in the given download.
       
    41         * @param aDownload The download that was handled or NULL.
       
    42         * @param aReason Exit reason.
       
    43         * @return -
       
    44         */
       
    45         virtual void NotifyHandlerExit( RHttpDownload* aDownload, TInt aReason ) = 0;
       
    46     };
       
    47 
       
    48 
       
    49 #endif /* MDOWNLOADHANDLEROBSERVER_H */