screensaver/devicedialogplugins/snsrdevicedialogplugin/inc/screensaverdomaincrkeys.h
changeset 85 35368b604b28
parent 77 4b195f3bea29
child 87 b19f22d9e323
child 92 6727c5d0afc7
equal deleted inserted replaced
77:4b195f3bea29 85:35368b604b28
     1 /*
       
     2 * Copyright (c) 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef SCREENSAVERDOMAINCRKEYS_H
       
    19 #define SCREENSAVERDOMAINCRKEYS_H
       
    20 
       
    21 #include <e32cmn.h>
       
    22 
       
    23 /**
       
    24 * Screensaver Settings repository UID.
       
    25 *
       
    26 * @publishedPartner
       
    27 * @released
       
    28 */
       
    29 const TUid KCRUidScreensaverSettings = {0x2002FFAB};
       
    30 
       
    31 
       
    32 /*
       
    33 * Swipe to open  
       
    34 *
       
    35 * Boolean value for swipe-to-open widget on active mode. 
       
    36 * 
       
    37 * Possible integer values:
       
    38 *
       
    39 * 0 = Swipe_to_open  not used
       
    40 * 1 = Swipe_to_open exists on active mode
       
    41 *
       
    42 * Default value: 1
       
    43 *
       
    44 * @publishedPartner
       
    45 * @released
       
    46 */
       
    47 const unsigned long int KScreensaverSwipeToOpen                   = 0x00000001;
       
    48 
       
    49 /**
       
    50 * Timeout from active mode to power save mode
       
    51 * 
       
    52 * Screensaver timeout from active mode to power save mode 
       
    53 * Power save mode is clock display in OLED-devices, blank display in other devices
       
    54 *
       
    55 * Possible integer values:
       
    56 *
       
    57 * 5 - 60 Seconds
       
    58 *
       
    59 * Default value: 30
       
    60 *
       
    61 * @publishedPartner
       
    62 * @released
       
    63 */
       
    64 const unsigned long int KScreensaverTimeToPowerSave           = 0x00000002;
       
    65 
       
    66 /**
       
    67 * User setting whether screensaver is shown in power save mode
       
    68 * 
       
    69 * Boolean value for screensaver on/off via control panel.
       
    70 * Setting is visible only in OLED-devices, i.e. if FF_AVC_DISPLAY_OLED_LOWPOWER_SUPPORT is enabled 
       
    71 * Non-OLED devices have allways blank display in power save mode
       
    72 *
       
    73 * Possible integer values:
       
    74 *
       
    75 * 0 = Screensaver is off
       
    76 * 1 = Screensaver is on
       
    77 *
       
    78 * Default value: 1
       
    79 *
       
    80 * @publishedPartner
       
    81 * @released
       
    82 */
       
    83 const unsigned long int KScreensaverStatus           = 0x00000003;
       
    84 
       
    85 /**
       
    86 * Type of display (for legacy reasons, prefer use of  FF_AVC_DISPLAY_OLED_LOWPOWER_SUPPORT)
       
    87 *  
       
    88 * 0 = Regular display type
       
    89 * 1 = RegularAndOled
       
    90 * 2 = OLED
       
    91 * 
       
    92 *
       
    93 * Default value: 2
       
    94 *
       
    95 * @publishedPartner
       
    96 * @released
       
    97 */
       
    98 const unsigned long int KScreensaverDisplayType     = 0x00000004;
       
    99 
       
   100 /**
       
   101 * Initial state of the screensaver
       
   102 *  
       
   103 * 1 = ViewTypeActive
       
   104 * 2 = ViewTypePowerSave
       
   105 * 
       
   106 * Initial view type for startup 
       
   107 *
       
   108 * Default value: 2
       
   109 *
       
   110 * @publishedPartner
       
   111 * @released
       
   112 */
       
   113 const unsigned long int KScreensaverStartupView     = 0x00000005;
       
   114 
       
   115 
       
   116 #endif  // SCREENSAVERDOMAINCRKEYS_H
       
   117             
       
   118 // End of File