organizer_plat/calendar_common_utils_api/inc/calenconstants.h
author andy simpson <andrews@symbian.org>
Thu, 02 Sep 2010 15:47:07 +0100
branchRCL_3
changeset 67 1539a383d7b6
parent 48 bf573002ff72
parent 66 bd7edf625bdd
permissions -rw-r--r--
Merge after removal of incorrect RCL_3 drop

/*
* Copyright (c) 2002 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:   Constants used in every where in Calendar code
 *
*/

#ifndef CALENCONSTANTS_H
#define CALENCONSTANTS_H

//  System Includes
#include <avkon.rsg>
#include <e32std.h>

// Constants
const TInt KCalenMinutesInHour = 60;
const TInt KCalenHoursInDay = 24;
const TInt KCalenDaysInWeek = 7;
const TInt KNoUserInfoNoteDisplay = 0;
const TInt KCalenTimeZoneChanged = 1; 
const TInt KCalenLostAlarms = 2; 
const TInt KNaviLabelSize = 32;
const TInt KWeekTitleSize = 64;

/**
 * KDayNames
 * Array holding week day names
 */
const TInt KDayNames[] =
    {
    R_QTN_WEEK_LONG_MONDAY,
    R_QTN_WEEK_LONG_TUESDAY,
    R_QTN_WEEK_LONG_WEDNESDAY,
    R_QTN_WEEK_LONG_THURSDAY,
    R_QTN_WEEK_LONG_FRIDAY,
    R_QTN_WEEK_LONG_SATURDAY,
    R_QTN_WEEK_LONG_SUNDAY
    };

/**
 * KMonthNames
 * Array holding month names
 */
const TInt KMonthNames[] =
    {
    R_QTN_MONTH_LONG_JANUARY,
    R_QTN_MONTH_LONG_FEBRUARY,
    R_QTN_MONTH_LONG_MARCH,
    R_QTN_MONTH_LONG_APRIL,
    R_QTN_MONTH_LONG_MAY,
    R_QTN_MONTH_LONG_JUNE,
    R_QTN_MONTH_LONG_JULY,
    R_QTN_MONTH_LONG_AUGUST,
    R_QTN_MONTH_LONG_SEPTEMBER,
    R_QTN_MONTH_LONG_OCTOBER,
    R_QTN_MONTH_LONG_NOVEMBER,
    R_QTN_MONTH_LONG_DECEMBER
    };

/**
 * TCalenWeekTitle
 * The week view title
 */
enum TCalenWeekTitle
    {
    EWeekTitleNumber,
    EWeekTitleDuration
    };

/**
* TCalenWeekNumber
* The week Number
*/
enum TCalenWeekNumber
{
EWeekNumberOn,
EWeekNumberOff
};


#endif // CALENCONSTANTS_H

// End of File