|
1 /* |
|
2 * Copyright (c) 2005-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: ECOM Interface definition for project General Settings Plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <registryinfo.rh> |
|
20 |
|
21 /** |
|
22 * How to use the resource definition: |
|
23 * |
|
24 * IMPLEMENTATION_INFO |
|
25 * { |
|
26 * implementation_uid = <Your implementation UID here>; |
|
27 * version_no = 1; |
|
28 * display_name = "<Your plugin name here (just for debugging)>"; |
|
29 * default_data = "<One of the below UIDs your plugin will be part of>"; |
|
30 * opaque_data = "<Position of your plugin in the parent listbox>"; |
|
31 * } |
|
32 * |
|
33 * For example plugins wishing to use Apps Plugin as a parent use |
|
34 * KGSAppsPluginUid (defined in GSFWViewUIDs.h): |
|
35 * |
|
36 * default_data = "0x10207239"; |
|
37 |
|
38 // Use this UID if plugin belongs to Main view: |
|
39 const TUid KGSMainViewUid = { 0x1020723B }; |
|
40 |
|
41 |
|
42 // No item is selected in the container's listbox |
|
43 const TUid KGSNoneSelected = { 0x00000000 }; |
|
44 |
|
45 // UIDs used by the sub-view plugins: |
|
46 |
|
47 // Use this UID if plugin belongs to General view: |
|
48 const TUid KGSGenPluginUid = { 0x10207237 }; |
|
49 |
|
50 // Use this UID if plugin belongs to Telephony view: |
|
51 const TUid KGSTelPluginUid = { 0x1020723D }; |
|
52 |
|
53 // Use this UID if plugin belongs to Connection view: |
|
54 const TUid KGSConPluginUid = { 0x10207250 }; |
|
55 |
|
56 // Use this UID if plugin belongs to Applications view: |
|
57 const TUid KGSAppsPluginUid = { 0x10207239 }; |
|
58 |
|
59 // Use this UID if plugin belongs to Personalisation view: |
|
60 const TUid KGSPrslnPluginUid = { 0x10207252 }; |
|
61 |
|
62 // Use this UID if plugin belongs to Security view: |
|
63 const TUid KGSSecurityPluginUid = { 0x1020743A }; |
|
64 |
|
65 // Use this UID if plugin belongs to Standby view: |
|
66 const TUid KGSStandbyPluginUid = { 0x1020743F }; |
|
67 |
|
68 * |
|
69 * Note that position of the plugin is supported only for internally provided |
|
70 * plugins. Others, such as 3rd party plugins, are sorted according to their |
|
71 * name and plugin provider category. |
|
72 * |
|
73 * Plugin position must follow the postition defined in UI specification. |
|
74 * Position starts from 0. Use -1 if position is not to be used in sorting. |
|
75 * |
|
76 */ |
|
77 RESOURCE REGISTRY_INFO theInfo |
|
78 { |
|
79 dll_uid = 0x10281BA0; // Plugin dll UID |
|
80 interfaces = |
|
81 { |
|
82 INTERFACE_INFO |
|
83 { |
|
84 interface_uid = 0x10207236; // UID for CGSPluginInterface - do not change. |
|
85 implementations = |
|
86 { |
|
87 IMPLEMENTATION_INFO |
|
88 { |
|
89 implementation_uid = 0x10281BA1; // Plugin UID |
|
90 version_no = 1; |
|
91 display_name = "DefaultAppSettings Plugin"; |
|
92 default_data = "0x10207239"; |
|
93 opaque_data = "0"; // Order number. We are the first |
|
94 } |
|
95 }; |
|
96 } |
|
97 }; |
|
98 } |
|
99 |