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