|
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 |
|
18 /** |
|
19 * @file |
|
20 * @internalTechnology |
|
21 */ |
|
22 |
|
23 #ifndef OMXILFILESOURCECONFIGMANAGER_H |
|
24 #define OMXILFILESOURCECONFIGMANAGER_H |
|
25 |
|
26 #include "omxilconfigmanager.h" |
|
27 |
|
28 class COmxILFileSourceProcessingFunction; |
|
29 |
|
30 NONSHARABLE_CLASS(COmxILFileSourceConfigManager) : public COmxILConfigManager |
|
31 { |
|
32 public: |
|
33 static COmxILFileSourceConfigManager* NewL( |
|
34 MOmxILPortManagerIf& aPortManager, |
|
35 const TDesC8& aComponentName, |
|
36 const OMX_VERSIONTYPE& aComponentVersion, |
|
37 const RPointerArray<TDesC8>& aComponentRoleList, |
|
38 COmxILFileSourceProcessingFunction& aFileSourcePF); |
|
39 |
|
40 ~COmxILFileSourceConfigManager(); |
|
41 |
|
42 OMX_ERRORTYPE GetParameter(OMX_INDEXTYPE aParamIndex, TAny* apComponentParameterStructure) const; |
|
43 OMX_ERRORTYPE SetParameter(OMX_INDEXTYPE aParamIndex, const TAny* apComponentParameterStructure, OMX_BOOL aInitTime = OMX_TRUE); |
|
44 |
|
45 private: |
|
46 COmxILFileSourceConfigManager(MOmxILPortManagerIf& aPortManager, COmxILFileSourceProcessingFunction& aFileSourcePF); |
|
47 void ConstructL(const TDesC8& aComponentName, const OMX_VERSIONTYPE& aComponentVersion, const RPointerArray<TDesC8>& aComponentRoleList); |
|
48 |
|
49 private: |
|
50 COmxILFileSourceProcessingFunction& iFileSourcePF; |
|
51 }; |
|
52 |
|
53 #endif // OMXILFILESOURCECONFIGMANAGER_H |