diff -r 50c53e893c3f -r 1221b68b8a5f omadrm/drmplugins/drmrohandler/inc/qrohandlerdmgreventhandler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/omadrm/drmplugins/drmrohandler/inc/qrohandlerdmgreventhandler.h Tue Aug 31 15:29:38 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 + +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 +