equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-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 #ifndef PULOADER_H |
|
18 #define PULOADER_H |
|
19 |
|
20 #include <mdf/mdfpuloader.h> |
|
21 |
|
22 class TFourCC; |
|
23 |
|
24 /* |
|
25 ECom plugin for the utility class used by the HwDevice to load Processing Units. |
|
26 */ |
|
27 class CPuLoader : public CMdfPuLoader |
|
28 { |
|
29 public: |
|
30 static CPuLoader* NewL(); |
|
31 |
|
32 CMdfProcessingUnit* LoadProcessingUnitL(const MMdfProcessingUnitObserver& aProcessingUnitObserver, |
|
33 TUid aImplementationUid); |
|
34 |
|
35 CMdfProcessingUnit* LoadProcessingUnitL( const MMdfProcessingUnitObserver& aProcessingUnitObserver, |
|
36 TFourCC aSrcDataType, TFourCC aDestDataType); |
|
37 |
|
38 CMdfProcessingUnit* LoadProcessingUnitL( const MMdfProcessingUnitObserver& aProcessingUnitObserver, |
|
39 const TDesC8& aSrcDataType, const TDesC8& aDestDataType, const TUid& aImplementationType); |
|
40 |
|
41 TInt TunnelSetup(MMdfOutputPort& aOutputPort, MMdfInputPort& aInputPort); |
|
42 |
|
43 void UnloadProcessingUnit(CMdfProcessingUnit*& aPu); |
|
44 virtual ~CPuLoader(); |
|
45 |
|
46 protected: |
|
47 |
|
48 CPuLoader(); |
|
49 |
|
50 /** |
|
51 Standard ConstructL() method. |
|
52 */ |
|
53 void ConstructL(); |
|
54 }; |
|
55 |
|
56 #endif // PULOADER_H |