equal
deleted
inserted
replaced
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 @file |
|
18 @internalTechnology |
|
19 @prototype |
|
20 */ |
|
21 |
|
22 #ifndef TOMXILSTRUCT_H |
|
23 #define TOMXILSTRUCT_H |
|
24 |
|
25 #include "tilstruct.h" |
|
26 #include <openmax/il/khronos/v1_x/OMX_Component.h> |
|
27 |
|
28 /** |
|
29 A typedef to symbianize the OpenMAX IL index type structure. |
|
30 */ |
|
31 typedef OMX_INDEXTYPE TILStructIndex; |
|
32 |
|
33 |
|
34 /** |
|
35 Derived class to create a TILStruct configuration given an index and a pointer to a parameter structure. |
|
36 The index identifies the param structure |
|
37 */ |
|
38 class TOMXILStructParam : public TILStruct |
|
39 { |
|
40 public: |
|
41 inline TOMXILStructParam(TAny* aParam, TILStructIndex aIndex); |
|
42 inline TAny* Param() const; |
|
43 inline TILStructIndex Index() const; |
|
44 |
|
45 private: |
|
46 TAny* iParam; // Not owned |
|
47 TILStructIndex iIndex; |
|
48 }; |
|
49 |
|
50 #include "tomxilstruct.inl" |
|
51 |
|
52 #endif // TOMXILSTRUCT_H |
|