--- a/engine/inc/ShowEngine.h Thu Jun 03 16:44:35 2010 +0100
+++ b/engine/inc/ShowEngine.h Mon Jun 21 12:04:03 2010 +0100
@@ -31,6 +31,12 @@
#include "mpxcollectionhelper.h"
#include "mpxcollectionhelperobserver.h"
+struct TDownload
+ {
+ TUint iIndex;
+ TUint iUid;
+ };
+
class CShowEngine : public CBase, public MHttpClientObserver, public MMetaDataReaderObserver,
public MMPXCollectionHelperObserver
{
@@ -75,6 +81,8 @@
IMPORT_C void CheckForDeletedShows(TUint aFeedUid);
IMPORT_C CMetaDataReader& MetaDataReader();
+ IMPORT_C void MoveDownloadUpL(TUint aUid);
+ IMPORT_C void MoveDownloadDownL(TUint aUid);
private:
// from HttpClientObserver, dont have to be public
@@ -127,6 +135,7 @@
TUint DBGetDownloadsCountL();
void DBAddDownloadL(TUint aUid);
CShowInfo* DBGetNextDownloadL();
+ void DBSwapDownloadsL(TDownload aFirstDL, TDownload aSecondDL);
private:
CHttpClient* iShowClient;