diff -r 000000000000 -r 5d29cba61097 omxilvideocomps/omxilgraphicsink/src/omxilgraphicsink.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/omxilvideocomps/omxilgraphicsink/src/omxilgraphicsink.h Fri Oct 08 22:09:17 2010 +0100 @@ -0,0 +1,58 @@ +/* +* 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 OMXILGRAPHICSINK_H +#define OMXILGRAPHICSINK_H + +#include + +class COmxILGraphicSinkVPB0Port; +class COmxILGraphicSinkProcessingFunction; + +/** +OpenMAX IL based graphics sink component class +*/ +class COmxILGraphicSink : public COmxILComponent + { +public: + /** The major version number of component. */ + static const TUint8 iComponentVersionMajor = OMX_VERSION_MAJOR; + /** The minor version number of component. */ + static const TUint8 iComponentVersionMinor = OMX_VERSION_MINOR; + /** The revision version number of component. */ + static const TUint8 iComponentVersionRevision = OMX_VERSION_REVISION; + /** The step version number of component. */ + static const TUint8 iComponentVersionStep = OMX_VERSION_STEP; + +public: + static TInt CreateComponent(OMX_HANDLETYPE aComponent); + ~COmxILGraphicSink(); + +private: + COmxILGraphicSink(); + void ConstructL(OMX_HANDLETYPE aHandle); + + COmxILGraphicSinkVPB0Port* ConstructVPB0PortL(); + void SetPortToPF(COmxILGraphicSinkVPB0Port* aPort); + }; + +#endif // OMXILGRAPHICSINK_H