1 /* |
|
2 * Copyright (c) 2007-2008 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: Content enums |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef WSFAIPLUGINCONTENTMODEL_H |
|
20 #define WSFAIPLUGINCONTENTMODEL_H |
|
21 |
|
22 |
|
23 #include <aicontentmodel.h> |
|
24 |
|
25 #include "wsfaipluginuids.hrh" |
|
26 |
|
27 // Plug-in Implementation UID. |
|
28 const TInt KImplUidWlanWizardPlugin = |
|
29 AI_UID_ECOM_IMPLEMENTATION_CONTENTPUBLISHER_WIZARDPLUGIN; |
|
30 const TUid KUidWlanWizardPlugin = { KImplUidWlanWizardPlugin }; |
|
31 |
|
32 |
|
33 // ================================= Content ================================ |
|
34 |
|
35 /** |
|
36 * Content Ids |
|
37 */ |
|
38 enum TWsfAiWizardContentIds |
|
39 { |
|
40 EAiWizardContentFullText |
|
41 ,EAiWizardContentNaviBarIcon |
|
42 ,EAiWizardContentTitleText |
|
43 ,EAiWizardContentStatusIcon |
|
44 ,EAiWizardContentStatusText |
|
45 ,EAiWizardContentTypeIcon // Transparent icon |
|
46 ,EAiWizardContentTypeText |
|
47 ,EAiWizardContentStrengthIcon |
|
48 ,EAiWizardContentStrengthText |
|
49 ,EAiWizardContentSecureIcon |
|
50 ,EAiWizardContentSecureText |
|
51 ,EAiWizardContentNetworkStatus |
|
52 ,EAiWizardContentNetworkName |
|
53 }; |
|
54 |
|
55 /** |
|
56 * Content that the plugin will publish |
|
57 */ |
|
58 const TAiContentItem KAiWizardContent[] = |
|
59 { |
|
60 { EAiWizardContentFullText, L"FullText", KAiContentTypeText } |
|
61 ,{ EAiWizardContentNaviBarIcon, L"NaviBarIcon", KAiContentTypeBitmap } |
|
62 ,{ EAiWizardContentTitleText, L"TitleText", KAiContentTypeText } |
|
63 ,{ EAiWizardContentStatusIcon, L"StatusIcon", KAiContentTypeBitmap } |
|
64 ,{ EAiWizardContentStatusText, L"StatusText", KAiContentTypeText } |
|
65 ,{ EAiWizardContentTypeIcon, L"TypeIcon", KAiContentTypeBitmap } |
|
66 ,{ EAiWizardContentTypeText, L"TypeText", KAiContentTypeText } |
|
67 ,{ EAiWizardContentStrengthIcon, L"StrengthIcon", KAiContentTypeBitmap } |
|
68 ,{ EAiWizardContentStrengthText, L"StrengthText", KAiContentTypeText } |
|
69 ,{ EAiWizardContentSecureIcon, L"SecureIcon", KAiContentTypeBitmap } |
|
70 ,{ EAiWizardContentSecureText, L"SecureText", KAiContentTypeText } |
|
71 ,{ EAiWizardContentNetworkStatus, L"NetworkStatus",KAiContentTypeText } |
|
72 ,{ EAiWizardContentNetworkName, L"NetworkName", KAiContentTypeText } |
|
73 }; |
|
74 |
|
75 // ============================ Events ============================== |
|
76 /** |
|
77 * Event Ids. |
|
78 */ |
|
79 enum TWsfAiWizardEventIds |
|
80 { |
|
81 EAiWizardEventLaunchApplication, |
|
82 EAiWizardGainFocusInfoArea, |
|
83 EAiWizardLostFocusInfoArea, |
|
84 EAiWizardOpenMenu |
|
85 }; |
|
86 |
|
87 /** |
|
88 * Services that the plugin can perform |
|
89 */ |
|
90 const TAiContentItem KAiWizardEvents[] = |
|
91 { |
|
92 { EAiWizardEventLaunchApplication, L"LaunchApplication", "" } |
|
93 ,{ EAiWizardGainFocusInfoArea, L"GainFocusInfoArea", "" } |
|
94 ,{ EAiWizardLostFocusInfoArea, L"LostFocusInfoArea", "" } |
|
95 ,{ EAiWizardOpenMenu, L"OpenMenu", "" } |
|
96 }; |
|
97 |
|
98 #endif // WSFAIPLUGINCONTENTMODEL_H |
|