mmfenh/enhancedmediaclient/Plugins/CacheSource/src/SinkQueueItem.h
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Definition of the databuffer source reader active object class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SINKQUEUEITEM_H
       
    20 #define SINKQUEUEITEM_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 class CMMFBuffer;
       
    26 class CMMFDataBuffer;
       
    27 class MMultimediaDataSourceObserver;
       
    28 class MDataSink;
       
    29 
       
    30 class CSinkQueueItem : public CBase
       
    31     {
       
    32     public: // Constructors and destructor
       
    33         static CSinkQueueItem* NewL(
       
    34             CMMFBuffer* aBuffer);
       
    35         virtual ~CSinkQueueItem();
       
    36         
       
    37         CMMFDataBuffer* Buffer();
       
    38         
       
    39     private:
       
    40         CSinkQueueItem(
       
    41             CMMFBuffer* aBuffer);
       
    42         void ConstructL();
       
    43         
       
    44     public:
       
    45         // next item
       
    46         TSglQueLink* iLink;
       
    47         
       
    48     private:
       
    49         // Buffer to be sent to server-side
       
    50         CMMFBuffer* iBuffer;
       
    51     };
       
    52 
       
    53 #endif      // SINKQUEUEITEM_H
       
    54 
       
    55 //  End of File