omxilcomp/omxiltestcomp/md5sink/src/omxiltestmd5sinkconfigmanager.h
changeset 0 58be5850fb6c
equal deleted inserted replaced
-1:000000000000 0:58be5850fb6c
       
     1 /*
       
     2 * Copyright (c) 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 COMXILTESTMD5SINKCONFIGMANAGER_H_
       
    25 #define COMXILTESTMD5SINKCONFIGMANAGER_H_
       
    26 
       
    27 #include <openmax/il/common/omxilconfigmanager.h>
       
    28 
       
    29 class COmxILTestMD5SinkConfigManager : public COmxILConfigManager
       
    30 	{
       
    31 public:
       
    32 	static COmxILTestMD5SinkConfigManager* NewL(
       
    33 			const TDesC8& aComponentName,
       
    34 			const OMX_VERSIONTYPE& aComponentVersion,
       
    35 			const RPointerArray<TDesC8>& aComponentRoles);
       
    36 	~COmxILTestMD5SinkConfigManager();
       
    37 	
       
    38 	OMX_ERRORTYPE GetParameter(OMX_INDEXTYPE aParamIndex,
       
    39 			   TAny* apComponentParameterStructure) const;
       
    40 
       
    41 	OMX_ERRORTYPE SetParameter(OMX_INDEXTYPE aParamIndex,
       
    42 			   const TAny* apComponentParameterStructure,
       
    43 			   OMX_BOOL aInitTime = OMX_TRUE);
       
    44 
       
    45 	void SetHash(const TDesC8& aHash);
       
    46 	
       
    47 private:
       
    48 	COmxILTestMD5SinkConfigManager();
       
    49 	void ConstructL(const TDesC8& aComponentName,
       
    50 			const OMX_VERSIONTYPE& aComponentVersion,
       
    51 			const RPointerArray<TDesC8>& aComponentRoles);
       
    52 	
       
    53 	TBuf8<16> iHash;
       
    54 	};
       
    55 
       
    56 #endif //COMXILTESTMD5SINKCONFIGMANAGER_H