23 // Constants |
23 // Constants |
24 const QString CITY_INFO_DB_PATH("c:\\data\\clock\\"); |
24 const QString CITY_INFO_DB_PATH("c:\\data\\clock\\"); |
25 const QString CITY_INFO_DB ("cityInfo.dat"); |
25 const QString CITY_INFO_DB ("cityInfo.dat"); |
26 const QString CLOCK_DEBUG_FILE("debug.txt"); |
26 const QString CLOCK_DEBUG_FILE("debug.txt"); |
27 const QString PATH_TEXT("C:/"); |
27 const QString PATH_TEXT("C:/"); |
|
28 const int KMaximumCityListCount(50); |
28 |
29 |
29 const long int KCRUidNitz = { 0x101F8876 }; |
30 const long int KCRUidNitz = { 0x101F8876 }; |
|
31 /** Active Protocol key */ |
|
32 const long int KActiveProtocol = 0x00000001; |
|
33 /** Previous alarm time high */ |
|
34 const long int KPreviousAlarmTime = 0x00000002; |
30 |
35 |
31 const long int KPreviousAlarmTime = 0x00000002; |
36 const long int KCRUidClockApp = { 0x101F874D }; |
|
37 /** Alarm snooze time key */ |
|
38 const long int KClockAppSnoozeTime = 0x00000002; |
32 |
39 |
33 // Common definitions for docml. |
40 // Common definitions for docml. |
34 #define CLOCK_MAIN_VIEW_DOCML ":/xml/clockmainview.docml" |
41 #define CLOCK_MAIN_VIEW_DOCML ":/xml/clockmainview.docml" |
35 #define CLOCK_MAIN_VIEW_PORTRAIT_SECTION "portrait" |
42 #define CLOCK_MAIN_VIEW_PORTRAIT_SECTION "portrait" |
36 #define CLOCK_MAIN_VIEW_LANDSCAPE_SECTION "landscape" |
43 #define CLOCK_MAIN_VIEW_LANDSCAPE_SECTION "landscape" |
37 #define CLOCK_MAIN_VIEW "clockMainView" |
44 #define CLOCK_MAIN_VIEW "clockMainView" |
38 #define CLOCK_WIDGET "clockWidget" |
45 #define CLOCK_WIDGET "clockWidget" |
39 #define CLOCK_ALARMLIST "alarmListView" |
46 #define CLOCK_ALARMLIST "alarmListView" |
40 #define CLOCK_NOALARMLABEL "noAlarmLabel" |
47 #define CLOCK_NOALARMLABEL "noAlarmLabel" |
41 #define WORLD_CLOCK_VIEW_DOCML ":/xml/worldclockview.docml" |
48 #define CLOCK_WORLD_VIEW_DOCML ":/xml/clockworldview.docml" |
42 #define WORLD_CLOCK_VIEW "worldClockView" |
49 #define CLOCK_WORLD_VIEW "worldClockView" |
43 #define CLOCK_VIEWS_STYLE_PATH ":/style" |
50 #define CLOCK_WORLD_CITYLIST "worldClockCityListView" |
|
51 #define CLOCK_WORLD_HOMECITY "homeCityWidget" |
|
52 #define CLOCK_WORLD_VIEW_PORTRAIT_NOHOMECITY_SECTION "portrait-nohomecity" |
|
53 #define CLOCK_WORLD_VIEW_PORTRAIT_HOMECITY_SECTION "portrait-homecity" |
|
54 #define CLOCK_WORLD_VIEW_LANDSCAPE_NOHOMECITY_SECTION "landscape-nohomecity" |
|
55 #define CLOCK_WORLD_VIEW_LANDSCAPE_HOMECITY_SECTION "landscape-homecity" |
44 |
56 |
45 #endif // CLOCKCOMMON_H |
57 #endif // CLOCKCOMMON_H |
46 |
58 |
47 // End of file --Don't remove this. |
59 // End of file --Don't remove this. |