|
1 /* |
|
2 * Copyright (c) 2009-2010 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: Defines some common data used by clock |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CLOCKCOMMON_H |
|
21 #define CLOCKCOMMON_H |
|
22 |
|
23 // Constants |
|
24 const QString CITY_INFO_DB_PATH("c:\\data\\clock\\"); |
|
25 const QString CITY_INFO_DB ("cityInfo.dat"); |
|
26 const QString CLOCK_DEBUG_FILE("debug.txt"); |
|
27 const QString PATH_TEXT("C:/"); |
|
28 const int KMaximumCityListCount(50); |
|
29 |
|
30 // Common definitions for docml. |
|
31 #define CLOCK_MAIN_VIEW_DOCML ":/xml/clockmainview.docml" |
|
32 #define CLOCK_MAIN_VIEW_PORTRAIT_SECTION "portrait" |
|
33 #define CLOCK_MAIN_VIEW_LANDSCAPE_SECTION "landscape" |
|
34 #define CLOCK_MAIN_VIEW "clockMainView" |
|
35 #define CLOCK_WIDGET "clockWidget" |
|
36 #define CLOCK_ALARMLIST "alarmListView" |
|
37 #define CLOCK_NOALARMLABEL "noAlarmLabel" |
|
38 #define CLOCK_WORLD_VIEW_DOCML ":/xml/clockworldview.docml" |
|
39 #define CLOCK_WORLD_VIEW "worldClockView" |
|
40 #define CLOCK_WORLD_CITYLIST "worldClockCityListView" |
|
41 #define CLOCK_WORLD_HOMECITY "homeCityWidget" |
|
42 #define CLOCK_WORLD_VIEW_PORTRAIT_NOHOMECITY_SECTION "portrait-nohomecity" |
|
43 #define CLOCK_WORLD_VIEW_PORTRAIT_HOMECITY_SECTION "portrait-homecity" |
|
44 #define CLOCK_WORLD_VIEW_LANDSCAPE_NOHOMECITY_SECTION "landscape-nohomecity" |
|
45 #define CLOCK_WORLD_VIEW_LANDSCAPE_HOMECITY_SECTION "landscape-homecity" |
|
46 |
|
47 #endif // CLOCKCOMMON_H |
|
48 |
|
49 // End of file --Don't remove this. |