diff -r 000000000000 -r 40261b775718 omxil/omxilcomponentcommon/src/common/omxilotherport.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/omxil/omxilcomponentcommon/src/common/omxilotherport.h Tue Feb 02 01:56:55 2010 +0200 @@ -0,0 +1,72 @@ +// Copyright (c) 2008-2009 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: +// + + +/** + @file + @internalTechnology +*/ + +#ifndef OMXILOTHERPORT_H +#define OMXILOTHERPORT_H + +#include "omxilport.h" +#include +#include +#include +#include + +class COmxILOtherPort : public COmxILPort + { +public: + IMPORT_C ~COmxILOtherPort(); + + // From COmxILPort + IMPORT_C OMX_ERRORTYPE GetLocalOmxParamIndexes(RArray& aIndexArray) const = 0; + + // From COmxILPort + IMPORT_C OMX_ERRORTYPE GetLocalOmxConfigIndexes(RArray& aIndexArray) const = 0; + + // From COmxILPort + IMPORT_C OMX_ERRORTYPE GetParameter(OMX_INDEXTYPE aParamIndex, + TAny* apComponentParameterStructure) const = 0; + + // From COmxILPort + IMPORT_C OMX_ERRORTYPE SetParameter(OMX_INDEXTYPE aParamIndex, + const TAny* apComponentParameterStructure, + TBool& aUpdateProcessingFunction) = 0; + +protected: + IMPORT_C COmxILOtherPort(const TOmxILCommonPortData& aCommonPortData); + + IMPORT_C virtual void ConstructL(const RArray& aSupportedOtherFormats); + + // From COmxILPort + IMPORT_C OMX_ERRORTYPE SetFormatInPortDefinition( + const OMX_PARAM_PORTDEFINITIONTYPE& aPortDefinition, + TBool& aUpdateProcessingFunction) = 0; + + // From COmxILPort + IMPORT_C TBool IsTunnelledPortCompatible( + const OMX_PARAM_PORTDEFINITIONTYPE& aPortDefinition) const = 0; + +protected: + // To indicate the supported formats + RArray iSupportedOtherFormats; + + OMX_OTHER_PARAM_PORTFORMATTYPE iParamOtherPortFormat; + }; + +#endif // OMXILOTHERPORT_H