os/mm/mmhais/refacladapt/src/shared/moutputport.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2006-2009 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:
    15 *
    16 */
    17 
    18 
    19 
    20 #ifndef MOUTPUTPORT_H
    21 #define MOUTPUTPORT_H
    22 
    23 #include <a3f/a3fbase.h>
    24 
    25 class CMMFBuffer;
    26 class MInputPort;
    27 class MFlushHandlerObserver;
    28 /**
    29  */
    30 class MOutputPort
    31 	{
    32 public:
    33 
    34 	virtual TInt GetOutputPort(MOutputPort*& aInputPort) = 0;
    35 	/**
    36 	* @param
    37 	*/
    38 	virtual TInt FillBuffer(CMMFBuffer* aBuffer, MInputPort* aConsumer)=0;
    39 	
    40 	/**
    41 	* @param 
    42 	*/
    43 	virtual TInt BufferEmptied(CMMFBuffer* aBuffer)=0;
    44 
    45 	/**
    46 	*/
    47 	virtual TInt SetInput(MInputPort* aInput)=0;
    48 
    49 	/**
    50 	* @param 
    51 	*/
    52 	virtual TInt RemoveInput(MInputPort* aInput)=0;
    53 
    54 	/**
    55 	* @param 
    56 	*/
    57 	virtual TInt FlushBuffer(MFlushHandlerObserver* aFlushObserver)=0;
    58 	};
    59 
    60 #endif // MOUTPUTPORT_H