commondrm/drmutility/inc/qdrmutilitydmgreventhandler.h
branchRCL_3
changeset 27 1481bf457703
parent 26 1221b68b8a5f
child 28 00671737faf2
equal deleted inserted replaced
26:1221b68b8a5f 27:1481bf457703
     1 /*
       
     2 * Copyright (c) 2010 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 "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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef QDRMUTILITYDMGREVENTHANDLER_H
       
    20 #define QDRMUTILITYDMGREVENTHANDLER_H
       
    21 
       
    22 #include <qobject.h>
       
    23 
       
    24 namespace WRT
       
    25 	{
       
    26 	class Download;
       
    27 	class DownloadEvent;
       
    28 	}
       
    29 
       
    30 class CDrmUtilityDmgrWrapper;
       
    31 
       
    32 class QDrmUtilityDmgrEventHandler : public QObject
       
    33     	{
       
    34     	Q_OBJECT
       
    35     	
       
    36     public:
       
    37     	QDrmUtilityDmgrEventHandler( CDrmUtilityDmgrWrapper& aDrmUtilityDmgrWrapper , WRT::Download& aDownload );
       
    38 	
       
    39     public slots:
       
    40     	
       
    41         /**
       
    42         * Handle download manager events
       
    43         *
       
    44         * @param aEvent the event
       
    45         */
       
    46         void HandleDownloadEventL( WRT::DownloadEvent* aEvent );
       
    47         
       
    48     private:
       
    49         WRT::Download& iDownload;
       
    50         CDrmUtilityDmgrWrapper& iDrmUtilityDmgrWrapper;
       
    51     	
       
    52     	};
       
    53 
       
    54 #endif // QDRMUTILITYDMGREVENTHANDLER_H