calendarui/cenrep/CalendarInternalCRKeys.h
changeset 0 f979ecb2b13e
child 5 42814f902fe6
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     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 #ifndef CALENDARINTERNALCRKEYS_H
       
    19 #define CALENDARINTERNALCRKEYS_H
       
    20 
       
    21 
       
    22 /** Calendar UI Settings API */
       
    23 /** Provides access to the Calendar application's settings */
       
    24 
       
    25 const TUid KCRUidCalendar = {0x101F874B};
       
    26 
       
    27 /**
       
    28 * Default alarm time in minutes before event starting time.
       
    29 * Value is an integer between 0 and 60. Default: 15.
       
    30 **/
       
    31 const TUint32 KCalendarDefaultAlarmTime = 0x00000000;
       
    32 
       
    33 /**
       
    34 * Default starting view for Calendar. Value is an integer between 0 and 2.
       
    35 * 0 = Month view (default)
       
    36 * 1 = Week view
       
    37 * 2 = Day view
       
    38 **/
       
    39 const TUint32 KCalendarDefaultStartView = 0x00000001;
       
    40 
       
    41 /**
       
    42 * Week view title in Calendar application.
       
    43 * Value is eihter integer 0 or 1
       
    44 * 0 = Week number (default)
       
    45 * 1 = Week dates
       
    46 **/
       
    47 const TUint32 KCalendarWeekViewTitle = 0x00000002;
       
    48 
       
    49 /**
       
    50 * Is Chinese Lunar calendar information shown in Calendar
       
    51 * (only available if feature is included in ROM image).
       
    52 * Value is either integer 0 or 1
       
    53 * 0 = Off
       
    54 * 1 = On (default)
       
    55 * This key value is deprecated and has been replaced by the KCRUidCalenLunarPlugin key.
       
    56 **/
       
    57 const TUint32 KCalendarLunarCalendar = 0x00000003;
       
    58 
       
    59 /**
       
    60 * Calendar alarm sound file, string.
       
    61 * Default value : "z:\data\sounds\digital\alarm.aac"
       
    62 **/
       
    63 const TUint32 KCalendarSoundFile = 0x00000004;
       
    64 
       
    65 /**
       
    66 * Default Calendar alarm sound file.
       
    67 * Default value : "z:\data\sounds\digital\alarm.aac"
       
    68 **/
       
    69 const TUint32 KCalendarDefaultSoundFile = 0x00000005;
       
    70 
       
    71 /**
       
    72 * A flag that is set when a Calendar alarm was lost due to time change.
       
    73 * Default value: 0
       
    74 */
       
    75 const TUint32 KCalendarLostAlarm = 0x00000006;
       
    76 
       
    77 /**
       
    78 * Calendar alarm snooze time interval in minutes.
       
    79 * Default value: 5
       
    80 */
       
    81 const TUint32 KCalendarSnoozeTime = 0x00000007;
       
    82 
       
    83 //Added as an addition to the Symbian fix
       
    84 /**
       
    85 * Calendar Persistent Time to store the last time the System Time updated.
       
    86 * Default Value : 0
       
    87 */
       
    88 const TReal KCalendarPersistentTime  = 0x00000009;
       
    89 
       
    90 /**
       
    91 * Text string containing UIDs and enabled/disabled flag (separated
       
    92 * by commas) for Calendar plugins.
       
    93 * Default value: Empty
       
    94 */
       
    95 const TUint32 KCalendarPluginAvailability = 0x0000000A;
       
    96 
       
    97 /**
       
    98 * Text string containing the name of last used calendar in unified editor.
       
    99 *  Used for storing the last used calendar name
       
   100 *  Default value : "c: calendar"
       
   101 */
       
   102 const TUint32 KCalendarLastUsedCalendar = 0x0000000B;
       
   103 
       
   104 /**
       
   105 * Used for storing latest number used for appending to c:Calendar string. 
       
   106 * Default value 0
       
   107 */
       
   108 const TUint32 KCalendarFileNumber = 0x0000000C;
       
   109 
       
   110 /**
       
   111 * Boolean value to show missed alarm soft notification by calendar application.
       
   112 * 1 = Supress the missed alarm soft notification
       
   113 * 0= Show the missed alarm soft notification
       
   114 **/
       
   115 const TUint32 KCalendarSupressMissedAlarmSoftNotification = 0x0000000D;
       
   116 
       
   117 /**
       
   118 * Boolean value containing startup status 
       
   119 * Used for calendar files creation on first boot up
       
   120 * Value is either boolean 0 or 1
       
   121 * 0 = Off (default) calendar files not created
       
   122 * 1 = On   calendar files created
       
   123 **/
       
   124 const TUint32 KCalendarStartupStatus = 0x0000000E;
       
   125 
       
   126 /**
       
   127 * Text string containing default calendar names separated by commas
       
   128 * Used for creating default calendars at the startup of the device
       
   129 * Default value: "Personal,Family,Friends"
       
   130 */
       
   131 const TUint32 KCalendarDefaultCalendars = 0x0000000F;
       
   132 
       
   133 /**
       
   134 * Text string containing default calendar colors separated by commas
       
   135 * Used for creating default calendars at the startup of the device
       
   136 * Default value: "16711680,65280,255"
       
   137 */
       
   138 const TUint32 KCalendarDefaultColors = 0x00000010;
       
   139 
       
   140 /**
       
   141 * String value containing unique calendar value 
       
   142 * Used for identifying an entry by LUID + unique calendar value 
       
   143 * Default value:"0"
       
   144 */
       
   145 const TUint32 KCalendarAvailableValue = 0x00000011;
       
   146 
       
   147 
       
   148 #endif  // CALENDARINTERNALCRKEYS_H