omxil/video/omxilclock/inc/comxilclockcomponent.h
branchOpenMAX-IL_SHAI
changeset 16 eedf2dcd43c6
equal deleted inserted replaced
15:c1e808730d6c 16:eedf2dcd43c6
       
     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 /**
       
    20 @file
       
    21 @internalComponent
       
    22 */
       
    23 
       
    24 #ifndef COMXILCLOCKCOMPONENT_H
       
    25 #define COMXILCLOCKCOMPONENT_H
       
    26 
       
    27 #include "omxilcomponent.h"
       
    28 
       
    29 
       
    30 
       
    31 class COmxILClockOutputPort;
       
    32 
       
    33 class COmxILClockComponent : public COmxILComponent
       
    34 	{
       
    35 public:
       
    36 	static TInt CreateComponent(OMX_HANDLETYPE hComponent);
       
    37 	~COmxILClockComponent();
       
    38 
       
    39 	TBool PortEnabled(TInt aPortIndex) const;
       
    40 	TInt PortBufferCount(TInt aPortIndex) const;
       
    41 
       
    42 private:
       
    43 	COmxILClockComponent();
       
    44 	void ConstructL(OMX_HANDLETYPE hComponent);
       
    45 
       
    46 private:
       
    47 	void AddPortL();
       
    48 
       
    49 private:
       
    50 	RPointerArray<COmxILClockOutputPort> iPorts;	
       
    51 	};
       
    52 	
       
    53 #endif //COMXILCLOCKOUTPUTPORT_H