1 /* |
|
2 * Copyright (c) 2006 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: This is the LCD Service Plugin construction parameters |
|
15 * declaration |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef T_LOCODSERVICEPLUGINPARAMS_H |
|
21 #define T_LOCODSERVICEPLUGINPARAMS_H |
|
22 |
|
23 class MLocodServicePluginObserver; |
|
24 |
|
25 /** |
|
26 * LCD Service Plugin Callback construction parameters |
|
27 * |
|
28 * This interface class is used to pass construction parameters to the |
|
29 * plugins. These parameters include the callback interface (usually |
|
30 * implemented by the LCD) and the ECOM plugin implementation UID |
|
31 * |
|
32 * @lib ?library |
|
33 * @since S60 v3.2 |
|
34 */ |
|
35 class TLocodServicePluginParams |
|
36 { |
|
37 public: |
|
38 /** |
|
39 * Constructor. |
|
40 * |
|
41 * @since S60 v3.2 |
|
42 * @param aUid Implementation UID of the plugin being constructed |
|
43 * @param aObserver Callback interface object |
|
44 */ |
|
45 TLocodServicePluginParams(TUid aUid, MLocodServicePluginObserver& aObserver); |
|
46 |
|
47 /** |
|
48 * Gets the implementation UID of the plugin |
|
49 * |
|
50 * @since S60 v3.2 |
|
51 * @return Implementaion UID |
|
52 */ |
|
53 TUid ImplementationUid() const; |
|
54 |
|
55 /** |
|
56 * Gets the observer interface object |
|
57 * |
|
58 * @since S60 v3.2 |
|
59 * @return The observer object |
|
60 */ |
|
61 MLocodServicePluginObserver& Observer() const; |
|
62 |
|
63 private: // data |
|
64 |
|
65 /** |
|
66 * The implementation UID |
|
67 */ |
|
68 const TUid iImplementationUid; |
|
69 |
|
70 /** |
|
71 * Reference to the observer object |
|
72 */ |
|
73 MLocodServicePluginObserver& iObserver; |
|
74 |
|
75 }; |
|
76 |
|
77 #include "locodservicepluginparams.inl" |
|
78 |
|
79 #endif // T_LOCODSERVICEPLUGINPARAMS_H |
|