diff -r 000000000000 -r 71ca22bcf22a mmfenh/enhancedmediaclient/Plugins/CacheSource/src/SinkQueueItem.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmfenh/enhancedmediaclient/Plugins/CacheSource/src/SinkQueueItem.h Tue Feb 02 01:08:46 2010 +0200 @@ -0,0 +1,55 @@ +/* +* 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: Definition of the databuffer source reader active object class +* +*/ + + +#ifndef SINKQUEUEITEM_H +#define SINKQUEUEITEM_H + +// INCLUDES +#include + +class CMMFBuffer; +class CMMFDataBuffer; +class MMultimediaDataSourceObserver; +class MDataSink; + +class CSinkQueueItem : public CBase + { + public: // Constructors and destructor + static CSinkQueueItem* NewL( + CMMFBuffer* aBuffer); + virtual ~CSinkQueueItem(); + + CMMFDataBuffer* Buffer(); + + private: + CSinkQueueItem( + CMMFBuffer* aBuffer); + void ConstructL(); + + public: + // next item + TSglQueLink* iLink; + + private: + // Buffer to be sent to server-side + CMMFBuffer* iBuffer; + }; + +#endif // SINKQUEUEITEM_H + +// End of File