clock/inc/clockcommon.h
changeset 18 c198609911f9
child 26 a949c2543c15
child 45 b6db4fd4947b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/clock/inc/clockcommon.h	Fri Apr 16 14:57:40 2010 +0300
@@ -0,0 +1,47 @@
+/*
+* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:   Defines some common data used by clock
+*
+*/
+
+
+
+#ifndef CLOCKCOMMON_H
+#define CLOCKCOMMON_H
+
+// Constants
+const QString CITY_INFO_DB_PATH("c:\\data\\clock\\");
+const QString CITY_INFO_DB ("cityInfo.dat");
+const QString CLOCK_DEBUG_FILE("debug.txt");
+const QString PATH_TEXT("C:/");
+
+const long int KCRUidNitz =  { 0x101F8876 };
+
+const long int KPreviousAlarmTime = 0x00000002;
+
+// Common definitions for docml.
+#define CLOCK_MAIN_VIEW_DOCML						":/xml/clockmainview.docml"
+#define CLOCK_MAIN_VIEW_PORTRAIT_SECTION			"portrait"
+#define CLOCK_MAIN_VIEW_LANDSCAPE_SECTION			"landscape"
+#define CLOCK_MAIN_VIEW								"clockMainView"
+#define CLOCK_WIDGET								"clockWidget"
+#define CLOCK_ALARMLIST								"alarmListView"
+#define CLOCK_NOALARMLABEL							"noAlarmLabel"
+#define WORLD_CLOCK_VIEW_DOCML						":/xml/worldclockview.docml"
+#define WORLD_CLOCK_VIEW							"worldClockView"
+#define CLOCK_VIEWS_STYLE_PATH						":/style"
+
+#endif		// CLOCKCOMMON_H
+
+// End of file	--Don't remove this.