diff -r 481b3bce574a -r b6488ac24ddc omxil/omxilcomponentcommon/src/common/omxilclientclockport.h --- a/omxil/omxilcomponentcommon/src/common/omxilclientclockport.h Mon Aug 23 21:48:44 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,92 +0,0 @@ -// 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 - @internalComponent -*/ - -#ifndef OMXILCLIENTCLOCKPORT_H -#define OMXILCLIENTCLOCKPORT_H - -#include "omxilotherport.h" -#include "omxilclockcomponentcmdsif.h" - -NONSHARABLE_CLASS(COmxILClientClockPort) : public COmxILOtherPort, public MOmxILClockComponentCmdsIf - { -public: - IMPORT_C static COmxILClientClockPort* NewL(const TOmxILCommonPortData& aCommonPortData, - const RArray& aSupportedOtherFormats); - - // From MOmxILClockComponentCmdsIf - IMPORT_C OMX_ERRORTYPE GetMediaTime(OMX_TICKS& aMediaTime) const; - - // From MOmxILClockComponentCmdsIf - IMPORT_C OMX_ERRORTYPE GetWallTime(OMX_TICKS& aWallTime) const; - - // From MOmxILClockComponentCmdsIf - IMPORT_C OMX_ERRORTYPE GetClockState(OMX_TIME_CONFIG_CLOCKSTATETYPE& aClockState) const; - - // From MOmxILClockComponentCmdsIf - IMPORT_C OMX_ERRORTYPE MediaTimeRequest(const OMX_PTR apPrivate, const OMX_TICKS aMediaTime, const OMX_TICKS aOffset) const; - - // From MOmxILClockComponentCmdsIf - IMPORT_C OMX_ERRORTYPE SetStartTime(const OMX_TICKS aStartTime) const; - - // From MOmxILClockComponentCmdsIf - IMPORT_C OMX_ERRORTYPE SetVideoReference(const OMX_TICKS aVideRef) const; - - // From MOmxILClockComponentCmdsIf - IMPORT_C OMX_ERRORTYPE SetAudioReference(const OMX_TICKS aAudioRef) const; - - // From MOmxILClockComponentCmdsIf - IMPORT_C OMX_BOOL IsClockComponentAvailable() const; - - // From COmxILPort - OMX_ERRORTYPE GetLocalOmxParamIndexes(RArray& aIndexArray) const; - - // From COmxILPort - OMX_ERRORTYPE GetLocalOmxConfigIndexes(RArray& aIndexArray) const; - - // From COmxILPort - OMX_ERRORTYPE GetParameter(OMX_INDEXTYPE aParamIndex, - TAny* apComponentParameterStructure) const; - - // From COmxILPort - OMX_ERRORTYPE SetParameter(OMX_INDEXTYPE aParamIndex, - const TAny* apComponentParameterStructure, - TBool& aUpdateProcessingFunction); - -protected: - // From COmxILPort - OMX_ERRORTYPE SetFormatInPortDefinition(const OMX_PARAM_PORTDEFINITIONTYPE& aPortDefinition, - TBool& aUpdateProcessingFunction); - - // From COmxILPort - TBool IsTunnelledPortCompatible(const OMX_PARAM_PORTDEFINITIONTYPE& aPortDefinition) const; - -private: - - COmxILClientClockPort(const TOmxILCommonPortData& aCommonPortData); - - OMX_ERRORTYPE GetTime(OMX_TICKS& aTime, const OMX_INDEXTYPE aTimeIndex) const; - - OMX_ERRORTYPE SetTime(const OMX_TICKS aTime, const OMX_INDEXTYPE aTimeIndex) const; - - const OMX_VERSIONTYPE iSpecVersion; - }; - -#endif // COMXILCLIENTCLOCKPORT_H