/*
* 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 <e32base.h>

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
