videocollection/videocollectionwrapper/tsrc/testvideocollectionlistener/stub/inc/stubsignalreceiver.h
--- a/videocollection/videocollectionwrapper/tsrc/testvideocollectionlistener/stub/inc/stubsignalreceiver.h Thu Apr 01 23:13:36 2010 +0300
+++ b/videocollection/videocollectionwrapper/tsrc/testvideocollectionlistener/stub/inc/stubsignalreceiver.h Thu Apr 01 23:22:15 2010 +0300
@@ -24,11 +24,13 @@
#include <mpxmediaarray.h>
#include <mpxmedia.h>
#include <Qlist>
-
+#include "videodatasignalreceiver.h"
-class StubSignalReceiver : public QObject
+class StubSignalReceiver : public VideoDataSignalReceiver
{
Q_OBJECT
+
+ Q_DISABLE_COPY(StubSignalReceiver)
public:
@@ -75,6 +77,11 @@
void newVideoListSlot(CMPXMediaArray* aVideoList);
/**
+ * Saves provided address to mLatestPtr
+ */
+ void appendVideoListSlot( CMPXMediaArray* videoList );
+
+ /**
* Saves provided address to mLatestPtr
*/
void videoListAppendedSlot(CMPXMediaArray* aVideoList);
@@ -95,10 +102,27 @@
void videoDeleteCompletedSlot(int count, QList<TMPXItemId> *failedMediaIds);
/**
- * Saves provided integer to mLatestInt
+ * Saves provided integer to mLatestItemId
*/
void videoDetailsCompletedSlot(TMPXItemId videoId);
+ /**
+ * Saves provided integer to mLatestItemId and provided pointer to
+ * mLatestPtr
+ */
+ void albumListAvailableSlot(TMPXItemId albumId,
+ CMPXMediaArray *albumItems);
+
+ /**
+ * copies provided list data to mLatesListData
+ */
+ void albumRemoveFailureSlot(QList<TMPXItemId> *items);
+
+ /**
+ * saves provided item id into mLatestItemId
+ */
+ void itemDeletedSlot(TMPXItemId id);
+
private:
/**
* Contains address of latest pointer passed to object