|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __CFCPLUGININFO_H__ |
|
22 #define __CFCPLUGININFO_H__ |
|
23 |
|
24 #include <e32base.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 /** |
|
28 * Information of FC plug-in. |
|
29 */ |
|
30 class CFCPlugInInfo: public CBase |
|
31 { |
|
32 public: // Constructors and destructor |
|
33 |
|
34 /** |
|
35 * Constructs an object |
|
36 * @param aUid the plug-in implementation UID |
|
37 * @param aName The name of the plugin. |
|
38 * @returns new instance |
|
39 */ |
|
40 static CFCPlugInInfo* NewL( const TUid& aUid, const TDesC8& aName ); |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 ~CFCPlugInInfo(); |
|
46 |
|
47 public: |
|
48 /** |
|
49 * Return the name of the plug-in |
|
50 * @return The name |
|
51 */ |
|
52 const TDesC8& Name() const; |
|
53 |
|
54 /** |
|
55 * Return the implementation UID of the plug-in |
|
56 * @return The UID |
|
57 */ |
|
58 const TUid& Uid() const; |
|
59 |
|
60 private: |
|
61 |
|
62 /** |
|
63 * Constructor |
|
64 * @param aUid the plug-in implementation UID |
|
65 */ |
|
66 CFCPlugInInfo( const TUid& aUid ); |
|
67 |
|
68 /** |
|
69 * Symbian 2nd phase constructor. |
|
70 * @param aName The name of the plugin. |
|
71 */ |
|
72 void ConstructL( const TDesC8& aName ); |
|
73 |
|
74 private://Data |
|
75 |
|
76 // The plug-in implementation UID |
|
77 const TUid iUid; |
|
78 |
|
79 // The name of the plug-in |
|
80 HBufC8* iName; |
|
81 }; |
|
82 |
|
83 #endif |
|
84 |
|
85 // End of File |