|
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: Content model for SAT Plug-in. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef AISATCONTENTMODEL_H |
|
20 #define AISATCONTENTMODEL_H |
|
21 |
|
22 |
|
23 #include <aicontentmodel.h> |
|
24 #include "aisatpluginuids.hrh" |
|
25 |
|
26 // SAT Operator Info Plug-in XML implementation UID |
|
27 const TInt KImplUidSatPlugin = |
|
28 AI_UID_ECOM_IMPLEMENTATION_CONTENTPUBLISHER_SATPLUGIN; |
|
29 const TUid KUidSatPlugin = { KImplUidSatPlugin }; |
|
30 |
|
31 /** |
|
32 * Content Ids. |
|
33 */ |
|
34 enum TSatContentIds |
|
35 { |
|
36 ESatContentText, |
|
37 ESatContentIcon |
|
38 }; |
|
39 |
|
40 enum TSatEventIds |
|
41 { |
|
42 ESatLaunchSatapp = 1 |
|
43 }; |
|
44 |
|
45 const TAiContentItem KSatContent[] = |
|
46 { |
|
47 { ESatContentText, L"SatIdleModeText", "text/plain" }, |
|
48 { ESatContentIcon, L"SatIdleModeIcon", "image/x-s60-bitmap" } |
|
49 }; |
|
50 |
|
51 /** |
|
52 * Resource Ids. |
|
53 */ |
|
54 enum TSatPluginResourceIds |
|
55 { |
|
56 ESatResourceEmptyIcon, |
|
57 ESatResourceEmptyCaption |
|
58 }; |
|
59 |
|
60 /** |
|
61 * Resources that the plug-in will publish. |
|
62 */ |
|
63 const TAiContentItem KSatResources[] = |
|
64 { |
|
65 { ESatResourceEmptyCaption, L"EmptyCaption", "text/plain" }, |
|
66 { ESatResourceEmptyIcon, L"EmptyIcon", "image/*" } |
|
67 }; |
|
68 |
|
69 /** |
|
70 * Event Ids. |
|
71 */ |
|
72 const TAiContentItem KSatEvents[] = |
|
73 { |
|
74 { ESatLaunchSatapp, L"LaunchSatapp", "int" } |
|
75 }; |
|
76 |
|
77 #endif //AISATCONTENTMODEL_H |
|
78 |