|
1 /* |
|
2 * Copyright (c) 2005 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: The class provides the FC PlugIn interface |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __CFCINTERFACE__ |
|
22 #define __CFCINTERFACE__ |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 #include <ecom/ecom.h> |
|
27 #include <badesca.h> |
|
28 #include "fcinterfaceinitparams.h" |
|
29 #include "fcplugin.h" |
|
30 |
|
31 // CONSTANTS |
|
32 // UID of this interface |
|
33 const TUid KCFCInterfaceUid = {0x102010E2}; |
|
34 |
|
35 // Default port |
|
36 const TUint32 KFCDefaultPort = 0; |
|
37 |
|
38 // CLASS DECLARATION |
|
39 /** |
|
40 * A FC interface used for the ecom |
|
41 */ |
|
42 class CFCInterface : public CBase, |
|
43 public MFCPlugIn |
|
44 { |
|
45 public: |
|
46 /** |
|
47 * The interface for passing initialisation parameters |
|
48 * @param aMatchString aMatch data for ecom |
|
49 * @param specific param for loading the specific plugin |
|
50 * @return the required plugIn Instance |
|
51 */ |
|
52 static CFCInterface* NewL( const TUid& aImplUid, |
|
53 TFCInterfaceInitParams& aParams ); |
|
54 |
|
55 /** |
|
56 * Destructor. |
|
57 */ |
|
58 virtual ~CFCInterface(); |
|
59 |
|
60 protected: |
|
61 /** ecom interface */ |
|
62 inline CFCInterface(); |
|
63 |
|
64 private: |
|
65 /** Unique instance identifier key */ |
|
66 TUid iDtor_ID_Key; |
|
67 }; |
|
68 |
|
69 #include "fcinterface.inl" |
|
70 |
|
71 #endif |
|
72 |
|
73 // End of File |