|
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 COMXILCLOCKCONFIGMANAGER_H |
|
25 #define COMXILCLOCKCONFIGMANAGER_H |
|
26 |
|
27 #include <openmax/il/common/omxilconfigmanager.h> |
|
28 |
|
29 |
|
30 |
|
31 // Forward declarations |
|
32 class COmxILClockProcessingFunction; |
|
33 |
|
34 class COmxILClockConfigManager : public COmxILConfigManager |
|
35 { |
|
36 public: |
|
37 static COmxILClockConfigManager* NewL( |
|
38 const TDesC8& aComponentName, |
|
39 const OMX_VERSIONTYPE& aComponentVersion, |
|
40 const RPointerArray<TDesC8>& aComponentRoles, |
|
41 COmxILClockProcessingFunction& aProcessingFunction); |
|
42 |
|
43 ~COmxILClockConfigManager(); |
|
44 |
|
45 // from COmxILConfigManager |
|
46 OMX_ERRORTYPE GetConfig(OMX_INDEXTYPE aConfigIndex, |
|
47 TAny* apComponentConfigStructure) const; |
|
48 OMX_ERRORTYPE SetConfig(OMX_INDEXTYPE aConfigIndex, |
|
49 const TAny* apComponentConfigStructure); |
|
50 |
|
51 private: |
|
52 COmxILClockConfigManager(COmxILClockProcessingFunction& aProcessingFunction); |
|
53 |
|
54 void ConstructL(const TDesC8& aComponentName, |
|
55 const OMX_VERSIONTYPE& aComponentVersion, |
|
56 const RPointerArray<TDesC8>& aComponentRoles); |
|
57 |
|
58 private: |
|
59 COmxILClockProcessingFunction* iProcessingFunction; // not owned |
|
60 }; |
|
61 |
|
62 #endif //COMXILCLOCKCONFIGMANAGER_H |