systemsettings/gssensorplugin/inc/gssensorplugin.hrh
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Resource headers for project gssensorplugin
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef GSSENSORPLUGIN_HRH
       
    20 #define GSSENSORPLUGIN_HRH
       
    21 
       
    22 // commands
       
    23 enum TMenuCommands
       
    24     {
       
    25     EGSCmdOk = 550,     // GS plugin commands starts from 500
       
    26     EGSSenMenuOpen,     // Menu command Open
       
    27     EGSSenMenuChange,   // Menu command change
       
    28     EGSSenMskGeneral,   // MSK general in main view. Can be either 'Change' or 'Open'
       
    29     EGSSenMenuExit      // 'Exit' menu command. Overridden to take control of exit
       
    30     };
       
    31 
       
    32 // values for interaction type
       
    33 enum TGSSensorInteraction
       
    34     {
       
    35     EGSSenTapping = 0,
       
    36     EGSSenTurning,
       
    37     EGSSenOrientation
       
    38     };
       
    39 
       
    40 // Sensor list items ie. views
       
    41 enum TGSSenItemIds 
       
    42     {
       
    43     EGSSensorsListItemId = 0,
       
    44     EGSTapCtrlListItemId,
       
    45     EGSTurnCtrlListItemId,
       
    46     EGSOrientationListItemId,
       
    47     EGSExtPluginsListItemId
       
    48     };
       
    49 
       
    50 // sensors active status displays item ids
       
    51 enum TGSSenActive
       
    52     {
       
    53     KGSSenorsActive
       
    54     };
       
    55     
       
    56 // tapping control display
       
    57 enum TGSSenTapCtrl
       
    58     {
       
    59     KGSTapCtrlSC = 0, // Silencing calls
       
    60     KGSTapCtrlSA,     // Silencing alarms
       
    61     KGSTapCtrlMes,    // Message
       
    62     KGSTapCtrlMP      // Music player
       
    63     };
       
    64 
       
    65 // turning control display
       
    66 enum TGSSenTurnCtrl
       
    67     {
       
    68     KGSTurnCtrlSC = 0,     // Silencing calls
       
    69     KGSTurnCtrlSA,         // Silencing alarms
       
    70     KGSDisplayOrientation  // Display orientation
       
    71     };
       
    72 
       
    73 // orientation settings display
       
    74 enum TGSSenOrientation
       
    75     {
       
    76     KGSOrientationCam = 0,  // Camera
       
    77     KGSOrientationPD        // Phone Display
       
    78     };
       
    79 
       
    80 // Common on/off values
       
    81 enum TGSSenOnOff
       
    82     {
       
    83     KGSSenOff,
       
    84     KGSSenOn
       
    85     };
       
    86 
       
    87 #endif //  GSSENSORPLUGIN_HRH