calendarui/cenrep/CalendarInternalCRKeys.h
changeset 45 b6db4fd4947b
parent 23 fd30d51f876b
child 46 ecd7b9840282
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
     1 /*
       
     2 * Copyright (c) 2002-2004 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:  Calendar Internal Cenrep Keys.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CALENDARINTERNALCRKEYS_H
       
    21 #define CALENDARINTERNALCRKEYS_H
       
    22 
       
    23 //#include <CalendarSDKCRKeys.h>
       
    24 
       
    25 /** Calendar UI Settings API */
       
    26 /** Provides access to the Calendar application's settings */
       
    27 
       
    28 const TUint32 KCRUidCalendar = {0x101F874B};
       
    29 
       
    30 
       
    31 /**
       
    32 * Default alarm time in minutes before event starting time.
       
    33 * Value is an integer between 0 and 60. Default: 15.
       
    34 **/
       
    35 const TUint32 KCalendarDefaultAlarmTime = 0x00000000;
       
    36 
       
    37 /**
       
    38 * Default starting view for Calendar. Value is an integer between 0 and 2.
       
    39 * 0 = Month view (default)
       
    40 * 1 = Week view
       
    41 * 2 = Day view
       
    42 **/
       
    43 const TUint32 KCalendarDefaultStartView = 0x00000001;
       
    44 
       
    45 /**
       
    46 * Week view title in Calendar application.
       
    47 * Value is eihter integer 0 or 1
       
    48 * 0 = Week number (default)
       
    49 * 1 = Week dates
       
    50 **/
       
    51 const TUint32 KCalendarWeekViewTitle = 0x00000002;
       
    52 
       
    53 /**
       
    54 * Is Chinese Lunar calendar information shown in Calendar
       
    55 * (only available if feature is included in ROM image).
       
    56 * Value is either integer 0 or 1
       
    57 * 0 = Off
       
    58 * 1 = On (default)
       
    59 * This key value is deprecated and has been replaced by the KCRUidCalenLunarPlugin key.
       
    60 **/
       
    61 const TUint32 KCalendarLunarCalendar = 0x00000003;
       
    62 
       
    63 /**
       
    64 * Calendar alarm sound file, string.
       
    65 * Default value : "z:\data\sounds\digital\alarm.aac"
       
    66 **/
       
    67 const TUint32 KCalendarSoundFile = 0x00000004;
       
    68 
       
    69 /**
       
    70 * Default Calendar alarm sound file.
       
    71 * Default value : "z:\data\sounds\digital\alarm.aac"
       
    72 **/
       
    73 const TUint32 KCalendarDefaultSoundFile = 0x00000005;
       
    74 
       
    75 /**
       
    76 * A flag that is set when a Calendar alarm was lost due to time change.
       
    77 * Default value: 0
       
    78 */
       
    79 const TUint32 KCalendarLostAlarm = 0x00000006;
       
    80 
       
    81 /**
       
    82 * Calendar alarm snooze time interval in minutes.
       
    83 * Default value: 5
       
    84 */
       
    85 const TUint32 KCalendarSnoozeTime = 0x00000007;
       
    86 
       
    87 //Added as an addition to the Symbian fix
       
    88 /**
       
    89 * Calendar Persistent Time to store the last time the System Time updated.
       
    90 * Default Value : 0
       
    91 */
       
    92 const TReal KCalendarPersistentTime  = 0x00000009;
       
    93 
       
    94 /**
       
    95 * Text string containing UIDs and enabled/disabled flag (separated
       
    96 * by commas) for Calendar plugins.
       
    97 * Default value: Empty
       
    98 */
       
    99 const TUint32 KCalendarPluginAvailability = 0x0000000A;
       
   100 
       
   101 /**
       
   102 * Defines whether regional information must be shown in the Calendar or not
       
   103 * Default value: 1
       
   104 */
       
   105 const TUint32 KShowRegionalInformation = 0x0000000B;
       
   106 
       
   107 #endif  // CALENDARINTERNALCRKEYS_H