omadrm/drmplugins/drmrohandler/inc/qrohandlerdmgreventhandler.h
branchRCL_3
changeset 26 1221b68b8a5f
equal deleted inserted replaced
25:50c53e893c3f 26:1221b68b8a5f
       
     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 QROHANDLERDMGREVENTHANDLER_H
       
    20 #define QROHANDLERDMGREVENTHANDLER_H
       
    21 
       
    22 #include <qobject.h>
       
    23 
       
    24 namespace WRT
       
    25 	{
       
    26 	class Download;
       
    27 	class DownloadEvent; 
       
    28 	}
       
    29 
       
    30 class CRoHandlerDMgrWrapper;
       
    31 
       
    32 class QRoHandlerDMgrEventHandler : public QObject
       
    33 	{
       
    34 	Q_OBJECT
       
    35 	
       
    36 	public:
       
    37 	QRoHandlerDMgrEventHandler( CRoHandlerDMgrWrapper& aRoHandlerDMgrWrapper , WRT::Download& aDownload );
       
    38 	
       
    39 	private slots:
       
    40 		/**
       
    41 		* Handle download manager events
       
    42 		*
       
    43 		* @param aEvent the event
       
    44 		*/
       
    45 		void HandleDownloadEventL( WRT::DownloadEvent* aEvent );
       
    46 		
       
    47 	private:
       
    48 		WRT::Download& iDownload;
       
    49 		CRoHandlerDMgrWrapper& iRoHandlerDMgrWrapper;
       
    50 	
       
    51 	};
       
    52 
       
    53 #endif // QROHANDLERDMGREVENTHANDLER_H
       
    54