commondrm/drmutility/src/qdrmutilitydmgreventhandler.cpp
author William Roberts <williamr@symbian.org>
Fri, 23 Jul 2010 11:53:11 +0100
branchGCC_SURGE
changeset 62 89726274e03c
parent 57 41137c634688
permissions -rw-r--r--
More GCCE problems: wrong choice of DEF file in .pro files - add to bug 2999


#include <download.h>

#include "qdrmutilitydmgreventhandler.h"
#include "drmutilitydmgrwrapper.h"

QDrmUtilityDmgrEventHandler::QDrmUtilityDmgrEventHandler( CDrmUtilityDmgrWrapper& aDrmUtilityDmgrWrapper, WRT::Download& aDownload )
	: iDownload(aDownload),
	  iDrmUtilityDmgrWrapper(aDrmUtilityDmgrWrapper)
	{
	QT_TRAP_THROWING(
					QObject::connect(	&iDownload, 
										SIGNAL(downloadEvent(DownloadEvent*)), 
										this, SLOT(HandleDownloadEventL(DownloadEvent*))
									)
					);
	}

void QDrmUtilityDmgrEventHandler::HandleDownloadEventL( WRT::DownloadEvent* aEvent )
	{
	iDrmUtilityDmgrWrapper.HandleDownloadEventL(aEvent);
	}