calendarui/inc/CalenConstants.h
branchRCL_3
changeset 65 12af337248b1
equal deleted inserted replaced
60:96907930389d 65:12af337248b1
       
     1 /*
       
     2 * Copyright (c) 2002 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:   Constants used in every where in Calendar code
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CALENCONSTANTS_H
       
    21 #define CALENCONSTANTS_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <avkon.rsg>
       
    25 #include <e32std.h>
       
    26 
       
    27 // CONSTANTS
       
    28 const TInt KCalenMinutesInHour = 60;
       
    29 const TInt KCalenHoursInDay = 24;
       
    30 const TInt KCalenDaysInWeek = 7;
       
    31 
       
    32 const TInt KNoUserInfoNoteDisplay = 0;
       
    33 const TInt KCalenTimeZoneChanged = 1; 
       
    34 const TInt KCalenLostAlarms = 2; 
       
    35 
       
    36 const TInt KNaviLabelSize = 32;
       
    37 
       
    38 const TInt KDayNames[] =
       
    39     {
       
    40     R_QTN_WEEK_LONG_MONDAY,
       
    41     R_QTN_WEEK_LONG_TUESDAY,
       
    42     R_QTN_WEEK_LONG_WEDNESDAY,
       
    43     R_QTN_WEEK_LONG_THURSDAY,
       
    44     R_QTN_WEEK_LONG_FRIDAY,
       
    45     R_QTN_WEEK_LONG_SATURDAY,
       
    46     R_QTN_WEEK_LONG_SUNDAY
       
    47     };
       
    48 
       
    49 const TInt KMonthNames[] =
       
    50     {
       
    51     R_QTN_MONTH_LONG_JANUARY,
       
    52     R_QTN_MONTH_LONG_FEBRUARY,
       
    53     R_QTN_MONTH_LONG_MARCH,
       
    54     R_QTN_MONTH_LONG_APRIL,
       
    55     R_QTN_MONTH_LONG_MAY,
       
    56     R_QTN_MONTH_LONG_JUNE,
       
    57     R_QTN_MONTH_LONG_JULY,
       
    58     R_QTN_MONTH_LONG_AUGUST,
       
    59     R_QTN_MONTH_LONG_SEPTEMBER,
       
    60     R_QTN_MONTH_LONG_OCTOBER,
       
    61     R_QTN_MONTH_LONG_NOVEMBER,
       
    62     R_QTN_MONTH_LONG_DECEMBER
       
    63     };
       
    64 
       
    65 const TInt KWeekTitleSize(64);
       
    66 
       
    67 const QString activityName = "Calendar"; //Activity Name to be stored in Activity Manager DB
       
    68 
       
    69 // FIXME: can be here now, but later on move to some other header.
       
    70 enum TCalenWeekTitle
       
    71     {
       
    72     EWeekTitleNumber,
       
    73     EWeekTitleDuration
       
    74     };
       
    75 
       
    76 #endif // CALENCONSTANTS_H
       
    77 
       
    78 
       
    79 // End of File