sl@0: // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @publishedPartner sl@0: @released sl@0: */ sl@0: sl@0: #ifndef MDFCOMMON_H sl@0: #define MDFCOMMON_H sl@0: sl@0: /** sl@0: Control flags for tunneling sl@0: */ sl@0: enum TTunnelFlags sl@0: { sl@0: /** sl@0: The input port receiving a buffer cannot alter its contents when tunnelled. sl@0: */ sl@0: EBufferReadOnly = 1 sl@0: }; sl@0: sl@0: /** sl@0: Defines the supplier of the buffers used in a tunnel sl@0: */ sl@0: enum TSupplierType sl@0: { sl@0: /** sl@0: Port supplying the buffers is unspecified, or don't care sl@0: */ sl@0: EBufferSupplyUnspecified = 0, sl@0: /** sl@0: Input port supplies the buffers sl@0: */ sl@0: EBufferSupplyInput, sl@0: /** sl@0: Output port supplies the buffers sl@0: */ sl@0: EBufferSupplyOutput sl@0: }; sl@0: sl@0: /** sl@0: Errors used by the Codec API sl@0: */ sl@0: enum TCodecApiErrors sl@0: { sl@0: /** sl@0: Invalid state sl@0: */ sl@0: EInvalidState = 0, sl@0: /** sl@0: Port already tunnelled sl@0: */ sl@0: EPortAlreadyTunnelled sl@0: }; sl@0: sl@0: #endif // MDFCOMMON_H