clock/inc/clockcommon.h
changeset 45 b6db4fd4947b
parent 18 c198609911f9
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
    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 
    28 const int KMaximumCityListCount(50);
    29 const long int KCRUidNitz =  { 0x101F8876 };
       
    30 
       
    31 const long int KPreviousAlarmTime = 0x00000002;
       
    32 
    29 
    33 // Common definitions for docml.
    30 // Common definitions for docml.
    34 #define CLOCK_MAIN_VIEW_DOCML						":/xml/clockmainview.docml"
    31 #define CLOCK_MAIN_VIEW_DOCML						":/xml/clockmainview.docml"
    35 #define CLOCK_MAIN_VIEW_PORTRAIT_SECTION			"portrait"
    32 #define CLOCK_MAIN_VIEW_PORTRAIT_SECTION			"portrait"
    36 #define CLOCK_MAIN_VIEW_LANDSCAPE_SECTION			"landscape"
    33 #define CLOCK_MAIN_VIEW_LANDSCAPE_SECTION			"landscape"
    37 #define CLOCK_MAIN_VIEW								"clockMainView"
    34 #define CLOCK_MAIN_VIEW								"clockMainView"
    38 #define CLOCK_WIDGET								"clockWidget"
    35 #define CLOCK_WIDGET								"clockWidget"
    39 #define CLOCK_ALARMLIST								"alarmListView"
    36 #define CLOCK_ALARMLIST								"alarmListView"
    40 #define CLOCK_NOALARMLABEL							"noAlarmLabel"
    37 #define CLOCK_NOALARMLABEL							"noAlarmLabel"
    41 #define WORLD_CLOCK_VIEW_DOCML						":/xml/worldclockview.docml"
    38 #define CLOCK_WORLD_VIEW_DOCML						":/xml/clockworldview.docml"
    42 #define WORLD_CLOCK_VIEW							"worldClockView"
    39 #define CLOCK_WORLD_VIEW							"worldClockView"
    43 #define CLOCK_VIEWS_STYLE_PATH						":/style"
    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"
    44 
    46 
    45 #endif		// CLOCKCOMMON_H
    47 #endif		// CLOCKCOMMON_H
    46 
    48 
    47 // End of file	--Don't remove this.
    49 // End of file	--Don't remove this.