omadrm/drmplugins/drmrohandler/inc/qrohandlerdmgreventhandler.h
changeset 57 41137c634688
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/omadrm/drmplugins/drmrohandler/inc/qrohandlerdmgreventhandler.h	Tue Jul 06 14:34:12 2010 +0300
@@ -0,0 +1,54 @@
+/*
+* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+#ifndef QROHANDLERDMGREVENTHANDLER_H
+#define QROHANDLERDMGREVENTHANDLER_H
+
+#include <qobject.h>
+
+namespace WRT
+	{
+	class Download;
+	class DownloadEvent; 
+	}
+
+class CRoHandlerDMgrWrapper;
+
+class QRoHandlerDMgrEventHandler : public QObject
+	{
+	Q_OBJECT
+	
+	public:
+	QRoHandlerDMgrEventHandler( CRoHandlerDMgrWrapper& aRoHandlerDMgrWrapper , WRT::Download& aDownload );
+	
+	private slots:
+		/**
+		* Handle download manager events
+		*
+		* @param aEvent the event
+		*/
+		void HandleDownloadEventL( WRT::DownloadEvent* aEvent );
+		
+	private:
+		WRT::Download& iDownload;
+		CRoHandlerDMgrWrapper& iRoHandlerDMgrWrapper;
+	
+	};
+
+#endif // QROHANDLERDMGREVENTHANDLER_H
+