equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-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 // Provides an interface (ECOM-plugin interface)for loading any implementation of filter. |
|
15 // If multiple instances exist, which implementation is loaded is based either on UID |
|
16 // mentioned or the parameters passed that distinguish it from the other implementations. |
|
17 // ListImplementations() can be called to get the list the list of implementations |
|
18 // for this particular interface. |
|
19 // |
|
20 // |
|
21 |
|
22 /** |
|
23 @publishedPartner |
|
24 @released |
|
25 */ |
|
26 |
|
27 #ifndef __CPTPIPHOSTFILTERINTERFACE_H__ |
|
28 #define __CPTPIPHOSTFILTERINTERFACE_H__ |
|
29 |
|
30 |
|
31 #include <e32base.h> |
|
32 #include <e32std.h> |
|
33 #include <es_sock.h> |
|
34 #include <e32cmn.h> |
|
35 #include <ecom/ecom.h> |
|
36 |
|
37 #include <mtp/mptpiphostfilter.h> |
|
38 |
|
39 |
|
40 class CPTPIPHostFilterInterface : public MPTPIPHostFilter |
|
41 { |
|
42 public: |
|
43 IMPORT_C static CPTPIPHostFilterInterface* NewL(); |
|
44 |
|
45 IMPORT_C static void ListImplementations(RImplInfoPtrArray & aImplInfoArray); |
|
46 |
|
47 IMPORT_C virtual ~CPTPIPHostFilterInterface(); |
|
48 |
|
49 private: |
|
50 TInt iID_offset;//offset of Implementation UID |
|
51 |
|
52 }; |
|
53 |
|
54 |
|
55 #endif |