|
1 /* |
|
2 * Copyright (c) 2004-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 the License "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: Defines the Feeds commands. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef FEEDS_HRH |
|
21 #define FEEDS_HRH |
|
22 |
|
23 // Feeds enumerate command codes |
|
24 enum TFeedsCommandIds |
|
25 { |
|
26 // Softkeys |
|
27 EFeedsSoftkeyOk = EWmlCmdFeedsViewCommandIdBase, |
|
28 EFeedsSoftkeyCancel, |
|
29 EFeedsSoftkeyBack, |
|
30 |
|
31 // Option menu commands |
|
32 EFeedsOpen, |
|
33 EFeedsActivate, |
|
34 EFeedsSeeFullStory, |
|
35 EFeedsUpdate, |
|
36 EFeedsUpdateAll, |
|
37 EFeedsBackToPage, |
|
38 EFeedsWebMenu, |
|
39 EFeedsManage, |
|
40 EFeedsMarkUnMark, |
|
41 EFeedsNavigation, |
|
42 EFeedsTools, |
|
43 EFeedsAdvanced, |
|
44 EFeedsSend, |
|
45 EFeedsInfo, |
|
46 EFeedsSettings, |
|
47 EFeedsBack, |
|
48 |
|
49 // NEW Option menu commands |
|
50 EFeedsOptionsGoto, |
|
51 EFeedsOptionsFeedsActions, |
|
52 EFeedsOptionsEdit, |
|
53 EFeedsOptionsMarkUnmark, |
|
54 EFeedsOptionsClear, |
|
55 EFeedsOptionsPreferences, |
|
56 EFeedsOptionsExit, |
|
57 |
|
58 // Manage sub-menu commands |
|
59 EFeedsMove, |
|
60 EFeedsMoveToFolder, |
|
61 EFeedsNewFolder, |
|
62 EFeedsNewFeed, |
|
63 EFeedsRename, |
|
64 EFeedsEdit, |
|
65 EFeedsDelete, |
|
66 EFeedsImport, |
|
67 EFeedsExport, |
|
68 |
|
69 // Navigation sub-menu commands |
|
70 EFeedsGotoAddress, |
|
71 EFeedsHome, |
|
72 EFeedsSearch, |
|
73 |
|
74 // Tools sub-menu commands |
|
75 EFeedsFindFeed, |
|
76 EFeedsDownloads, |
|
77 |
|
78 // Advanced sub-menu commands |
|
79 EFeedsChangeConnection, |
|
80 EFeedsDisconnect, |
|
81 |
|
82 // Send sub-menu commands |
|
83 |
|
84 // Info sub-menu commands |
|
85 EFeedsSession, |
|
86 EFeedsAbout, |
|
87 |
|
88 // Debug sub-menu commands |
|
89 EFeedsDebug, |
|
90 EFeedsStartTestHarnessCanned, |
|
91 EFeedsStartTestHarnessCannedShort, |
|
92 EFeedsStartTestHarnessLive, |
|
93 |
|
94 // Feeds Item navigation commands |
|
95 EFeedsShowNextItem, |
|
96 EFeedsShowPrevItem |
|
97 }; |
|
98 |
|
99 |
|
100 enum TFeedsResourceIds |
|
101 { |
|
102 EFeedsWaitNoteDlgId = 1, |
|
103 EFeedsProgressDlgId, |
|
104 EFeedsEditFeedDialogId, |
|
105 EFeedsEditDialogNameId, |
|
106 EFeedsEditDialogUrlId, |
|
107 EFeedsEditAutomaticUpdatingId |
|
108 }; |
|
109 |
|
110 // Automatic updating |
|
111 enum TFeedsAutomaticUpdating |
|
112 { |
|
113 EFeedsEditAutomaticUpdatingOff, |
|
114 EFeedsEditAutomaticUpdating15min, |
|
115 EFeedsEditAutomaticUpdatingHourly, |
|
116 EFeedsEditAutomaticUpdating4hours, |
|
117 EFeedsEditAutomaticUpdatingDaily, |
|
118 EFeedsEditAutomaticUpdatingWeekly |
|
119 }; |
|
120 |
|
121 // CRichTextEditor |
|
122 #define KNumberOfLinesInRichTextEditor 7 |
|
123 |
|
124 |
|
125 // CEditFeedDialog |
|
126 #define KMaxFeedNameLength 50 |
|
127 #define KMaxFeedUrlLength 1000 |
|
128 |
|
129 #endif // FEEDS_VIEW_MGR_HRH |