--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/videocollection/videocollectionwrapper/inc/videodatasignalreceiver.h Thu Apr 01 22:38:49 2010 +0300
@@ -0,0 +1,94 @@
+/*
+* Copyright (c) 2009 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: Signal receiver interface for video data changes.*
+*/
+
+
+
+#ifndef __VIDEOMODELOBSERVER_H
+#define __VIDEOMODELOBSERVER_H
+
+// INCLUDES
+#include <QObject>
+#include <mpxcollectionmessagedefs.h>
+#include <mpxitemid.h>
+#include <Qlist>
+
+// FORWARD DECLARATIONS
+class CMPXMediaArray;
+class CMPXMedia;
+
+
+// CLASS DECLARATION
+
+/**
+ * Observer interface for video data changes.
+ *
+ * @lib vcxnsmyvideos.lib
+ */
+class VideoDataSignalReceiver : public QObject
+{
+ Q_OBJECT
+
+public slots:
+
+ /**
+ * Signaled when a list of videos is available.
+ * Ownership of array is not transferred.
+ *
+ * @param aVideoList List of videos
+ */
+ virtual void newVideoListSlot( CMPXMediaArray* aVideoList ) = 0;
+
+ /**
+ * Signaled when a list of videos is appended from collection.
+ * Ownership of array is not transferred.
+ *
+ * @param videoList List of videos
+ */
+ virtual void appendVideoListSlot( CMPXMediaArray* videoList ) = 0;
+
+
+ /**
+ * Signaled when a single video item has fetched.
+ * Ownership of video is transferred.
+ *
+ * @param aVideo Video item.
+ */
+ virtual void newVideoAvailableSlot( CMPXMedia* aVideo ) = 0;
+
+ /**
+ * Signaled when received an avent about externally removed video.
+ *
+ * @param videoId video id
+ */
+ virtual void videoDeletedSlot( TMPXItemId videoId ) = 0;
+
+ /**
+ * Signaled when multiple video deletion command is completed.
+ *
+ * @param overallCount count of ALL videos in this delete procedure
+ * @param failedMediaIds media-array containing possible failed medias
+ */
+ virtual void videoDeleteCompletedSlot( int overallCount, QList<TMPXItemId> *failedMediaIds ) = 0;
+
+ /**
+ * Signaled when all details for a video have been fetched.
+ *
+ * @param aMedia MPX Media that contains all details.
+ */
+ virtual void videoDetailsCompletedSlot( TMPXItemId videoId ) = 0;
+};
+
+#endif // __VIDEOMODELOBSERVER_H