omxilvideocomps/omxilgraphicsink/src/omxilgraphicsink.h
changeset 0 5d29cba61097
equal deleted inserted replaced
-1:000000000000 0:5d29cba61097
       
     1 /*
       
     2 * Copyright (c) 2008-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  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef OMXILGRAPHICSINK_H
       
    24 #define OMXILGRAPHICSINK_H
       
    25 
       
    26 #include <openmax/il/common/omxilcomponent.h>
       
    27 
       
    28 class COmxILGraphicSinkVPB0Port;
       
    29 class COmxILGraphicSinkProcessingFunction;
       
    30 
       
    31 /**
       
    32 OpenMAX IL based graphics sink component class
       
    33 */
       
    34 class COmxILGraphicSink : public COmxILComponent
       
    35 	{
       
    36 public:
       
    37 	/** The major version number of component. */
       
    38 	static const TUint8 iComponentVersionMajor	  = OMX_VERSION_MAJOR;
       
    39 	/** The minor version number of component. */
       
    40 	static const TUint8 iComponentVersionMinor	  = OMX_VERSION_MINOR;
       
    41 	/** The revision version number of component. */
       
    42 	static const TUint8 iComponentVersionRevision = OMX_VERSION_REVISION;
       
    43 	/** The step version number of component. */
       
    44 	static const TUint8 iComponentVersionStep	  = OMX_VERSION_STEP;
       
    45 	
       
    46 public:
       
    47 	static TInt CreateComponent(OMX_HANDLETYPE aComponent);
       
    48 	~COmxILGraphicSink();
       
    49 
       
    50 private:
       
    51 	COmxILGraphicSink();
       
    52 	void ConstructL(OMX_HANDLETYPE aHandle);
       
    53 	
       
    54 	COmxILGraphicSinkVPB0Port* ConstructVPB0PortL();
       
    55 	void SetPortToPF(COmxILGraphicSinkVPB0Port* aPort);
       
    56 	};
       
    57 
       
    58 #endif // OMXILGRAPHICSINK_H