omxil_generic/omxilcomplib/src/omxilcommand.h
changeset 0 0e4a32b9112d
equal deleted inserted replaced
-1:000000000000 0:0e4a32b9112d
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 #ifndef OMXILCOMMAND_H
       
    18 #define OMXILCOMMAND_H
       
    19 
       
    20 
       
    21 #include <openmax/il/khronos/v1_x/OMX_Core.h>
       
    22 
       
    23 class TOmxILCommand
       
    24 	{
       
    25 
       
    26 public:
       
    27 
       
    28 	OMX_COMMANDTYPE iCommandType;
       
    29 	OMX_U32 iParam1;
       
    30 	OMX_PTR ipCommandData;
       
    31 
       
    32 	// Constructor
       
    33 	inline TOmxILCommand(
       
    34 		OMX_COMMANDTYPE aCommandType,
       
    35 		OMX_U32 aParam1,
       
    36 		OMX_PTR apCommandData);
       
    37 
       
    38 	};
       
    39 
       
    40 
       
    41 inline
       
    42 TOmxILCommand::TOmxILCommand(
       
    43 	OMX_COMMANDTYPE aCommandType,
       
    44 	OMX_U32 aParam1,
       
    45 	OMX_PTR apCommandData
       
    46 	)
       
    47 	:
       
    48 	iCommandType(aCommandType),
       
    49 	iParam1(aParam1),
       
    50 	ipCommandData(apCommandData)
       
    51 	{
       
    52 	}
       
    53 
       
    54 #endif // OMXILCOMMAND_H