omadrm/drmplugins/drmrohandler/src/qrohandlerdmgreventhandler.cpp
branchRCL_3
changeset 27 1481bf457703
parent 26 1221b68b8a5f
child 28 00671737faf2
equal deleted inserted replaced
26:1221b68b8a5f 27:1481bf457703
     1 
       
     2 #include <download.h>
       
     3 
       
     4 #include "qrohandlerdmgreventhandler.h"
       
     5 #include "rohandlerdmgrwrapper.h"
       
     6 
       
     7 QRoHandlerDMgrEventHandler::QRoHandlerDMgrEventHandler( 
       
     8 	CRoHandlerDMgrWrapper& aRoHandlerDMgrWrapper, 
       
     9 	WRT::Download& aDownload )
       
    10 	: iDownload(aDownload),
       
    11 	  iRoHandlerDMgrWrapper(aRoHandlerDMgrWrapper)
       
    12 	{
       
    13 	QT_TRAP_THROWING
       
    14 			(
       
    15 			QObject::connect
       
    16 					(
       
    17 					&iDownload, SIGNAL(downloadEvent(DownloadEvent*)), 
       
    18 					this, SLOT(HandleDownloadEventL(DownloadEvent*))
       
    19 					)
       
    20 			);
       
    21 	}
       
    22 
       
    23 void QRoHandlerDMgrEventHandler::HandleDownloadEventL( WRT::DownloadEvent* aEvent )
       
    24 	{
       
    25 	iRoHandlerDMgrWrapper.HandleDownloadEventL(aEvent);
       
    26 	}