omxil/omxilcomponentcommon/src/common/omxilconfigmanager.h
branchOpenMAX-IL_SHAI
changeset 16 eedf2dcd43c6
parent 0 40261b775718
equal deleted inserted replaced
15:c1e808730d6c 16:eedf2dcd43c6
    34 */
    34 */
    35 _LIT(KOmxILConfigManagerPanicCategory, "OmxILConfigManager");
    35 _LIT(KOmxILConfigManagerPanicCategory, "OmxILConfigManager");
    36 
    36 
    37 
    37 
    38 // Forward declarations
    38 // Forward declarations
    39 class COmxILPortManager;
    39 class MOmxILPortManagerIf;
    40 
    40 
    41 
    41 
    42 /**
    42 /**
    43    This class is a placeholder for those OpenMAX IL parameters and configs that
    43    This class is a placeholder for those OpenMAX IL parameters and configs that
    44    apply to the component as a whole and not to an specific port in the
    44    apply to the component as a whole and not to an specific port in the
    51 	{
    51 	{
    52 
    52 
    53 public:
    53 public:
    54 
    54 
    55 	IMPORT_C static COmxILConfigManager* NewL(
    55 	IMPORT_C static COmxILConfigManager* NewL(
    56 		COmxILPortManager& aPortManager,
    56 		MOmxILPortManagerIf& aPortManager,
    57 		const TDesC8& aComponentName,
    57 		const TDesC8& aComponentName,
    58 		const OMX_VERSIONTYPE& aComponentVersion,
    58 		const OMX_VERSIONTYPE& aComponentVersion,
    59 		const RPointerArray<TDesC8>& aComponentRoleList);
    59 		const RPointerArray<TDesC8>& aComponentRoleList);
    60 
    60 
    61 	IMPORT_C ~COmxILConfigManager();
    61 	IMPORT_C ~COmxILConfigManager();
    91 		OMX_U8* aRole,
    91 		OMX_U8* aRole,
    92 		OMX_U32 aIndex) const;
    92 		OMX_U32 aIndex) const;
    93 
    93 
    94 protected:
    94 protected:
    95 
    95 
    96 	IMPORT_C explicit COmxILConfigManager(COmxILPortManager& aPortManager);
    96 	IMPORT_C explicit COmxILConfigManager(MOmxILPortManagerIf& aPortManager);
    97 
    97 
    98 	IMPORT_C void ConstructL(const TDesC8& aComponentName,
    98 	IMPORT_C void ConstructL(const TDesC8& aComponentName,
    99 					const OMX_VERSIONTYPE& aComponentVersion,
    99 					const OMX_VERSIONTYPE& aComponentVersion,
   100 					const RPointerArray<TDesC8>& aComponentRoleList);
   100 					const RPointerArray<TDesC8>& aComponentRoleList);
   101 
   101 
   104 
   104 
   105 
   105 
   106 protected:
   106 protected:
   107 
   107 
   108 	// Reference to the component's port manager
   108 	// Reference to the component's port manager
   109 	COmxILPortManager& iPortManager;
   109 	MOmxILPortManagerIf& iPortManager;
   110 
   110 
   111 	// Reference to the component's port manager
   111 	// Reference to the component's port manager
   112 	RBuf8 iComponentName;
   112 	RBuf8 iComponentName;
   113 
   113 
   114 	// The list of OpenMAX IL roles supported by the component
   114 	// The list of OpenMAX IL roles supported by the component