--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ipappsrv_plat/multimedia_comms_api/inc/mcedatasinkobserver.h Mon Sep 06 17:32:13 2010 +0530
@@ -0,0 +1,58 @@
+/*
+* Copyright (c) 2006 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:
+*
+*/
+
+
+
+
+#ifndef MMCEDATASINKOBSERVER_H
+#define MMCEDATASINKOBSERVER_H
+
+// INCLUDES
+#include <e32std.h>
+
+// FORWARD DECLARATIONS
+class CMceMediaStream;
+class CMceMediaSink;
+
+// CLASS DECLARATION
+
+/**
+* An interface to be implemented by users of MCE if they wish to receive
+* data from CMceDataSink.
+*
+* This observer is set using CMceManager::SetDataSinkObserver function.
+*
+* @lib mceclient.lib
+*/
+class MMceDataSinkObserver
+ {
+ public:
+
+ /**
+ * Data received fro stream.
+ * @param aStream, the stream that uses the sink.
+ * @param aSink, the sink that received data.
+ * @param aData, received data.
+ */
+ virtual void DataReceived (
+ CMceMediaStream& aStream,
+ CMceMediaSink& aSink,
+ const TDesC8& aData ) = 0;
+
+ };
+
+#endif