gssettingsuis/Gs/GSCallPlugin/inc/GSCallPlugin.hrh
branchRCL_3
changeset 24 8ee96d21d9bf
parent 23 8bda91a87a00
child 25 7e0eff37aedb
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  Contains definition of constants used in GSCallPlugin.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef GSCALLPLUGIN_HRH
       
    19 #define GSCALLPLUGIN_HRH
       
    20 
       
    21 
       
    22 enum TGSCallNotes
       
    23     {
       
    24     ECWActivateNote = 1,
       
    25     ECWCancelNote,
       
    26     ECWNotActiveNote,
       
    27     ERequestCancelledNote,
       
    28     ERequestingNote,
       
    29     EAlsDisabledNote,
       
    30     EAlsEnabledNote,
       
    31     ECallInProgress,
       
    32     ECugIndexErrorNote,
       
    33     EImageLoadWaitNote
       
    34     };
       
    35 
       
    36 enum TGSCallMenuCommands
       
    37     {
       
    38     EAppCmdCreatePopupList = 4,
       
    39     EAppCmdChange,
       
    40     EGSCmdCallWaitActivate,
       
    41     EGSCmdCallWaitInquiry,
       
    42     EGSCmdCallWaitDeactivate,
       
    43     EGSCmdOwnNumberSendOn,
       
    44     EGSCmdOwnNumberSendOff,
       
    45     EGSCmdOwnNumberSendDefault,
       
    46     //EGSCmdCCBSInquiry,
       
    47     EGSCmdStillImage
       
    48     };
       
    49 
       
    50 
       
    51 enum TCallSettId
       
    52     {
       
    53     EGSNotSet,
       
    54     EGSOpeningSlideAnswerCall,
       
    55     EGSClosingSlideEndCall,
       
    56     EGSSoftRejectDefault,
       
    57     EGSSummaryAfterCall,
       
    58     EGSCallDuration
       
    59     };
       
    60 
       
    61 enum TGSCallSettingActions
       
    62     {
       
    63     EGSAlsSetPrimary = 0,
       
    64     EGSAlsBlockingOn = 0,
       
    65     EGSClirPreset = 0,
       
    66     EGSCallWaitingOn = 0,
       
    67     EGSCallWaitingOff = 1,
       
    68     EGSClirOn = 1,
       
    69     EGSAlsSetAlternate = 1,
       
    70     EGSAlsBlockingOff = 1,
       
    71     EGSSettingDlgNumber = 1,
       
    72     EGSClirOff = 2,
       
    73     EGSCallWaitingStatus = 2
       
    74     };
       
    75 
       
    76 enum TGSCustomerServiceGroups
       
    77     {
       
    78     EGSCSPCallWaiting = 1,
       
    79     EGSCSPAlternateLine,
       
    80     EGSCenRepSoftReject
       
    81     };
       
    82 
       
    83 enum TCugPopupIndex
       
    84     {
       
    85     EGSCugNetworkDefault = 0,
       
    86     EGSCugOn = 1,
       
    87     EGSCugOff = 2
       
    88     };
       
    89 
       
    90 
       
    91 enum TGSSoftKeys
       
    92     {
       
    93     EGSSoftkeyQuit = 1,
       
    94     EGSSoftkeyEmpty
       
    95     };
       
    96 
       
    97 
       
    98 //Call view's list items.
       
    99 enum TGSCallItemIds
       
   100     {
       
   101     EGSOpeningSlideAnswerCallItemId,
       
   102     EGSClosingSlideEndCallItemId,
       
   103     EGSCliItemId,
       
   104     EGSCallWaitingItemId,
       
   105     //EGSCCBSItemId,
       
   106     EGSSummaryAfterCallItemId,
       
   107     EGSSoftRejectTextItemId,
       
   108     EGSStillImageItemId,
       
   109     EGSAutoRedialToVoiceItemId,
       
   110     EGSReplacePrefixItemId,
       
   111     EGSLineChangeItemId,
       
   112     EGSALSBlockItemId,
       
   113     EGSICSendIntCallIdItemId,
       
   114     EGSICWaitingItemId,
       
   115     EGSICPreferredTelephonyId,
       
   116     EGSDndItemId,
       
   117     EGSShowCallDurationItemId,
       
   118     EGSLongPressCallKeyItemId,
       
   119     EGSOwnImageVtCallItemId
       
   120     };
       
   121 
       
   122 // VoIP specific setting id's
       
   123 enum TGSVoIPSetting
       
   124     {
       
   125     EGSVoIPSendIntCallId = 0,
       
   126     EGSVoIPCW,
       
   127     EGSVoIPPreType,
       
   128     EGSVoIPDnd,
       
   129     EGSVoIPBarring
       
   130     };
       
   131 
       
   132 // Send my Internet call caller id
       
   133 enum TGSSendIntCallId
       
   134     {
       
   135     EGSSendIntCallIdOn = 0,     // Default
       
   136     EGSSendIntCallIdOff,
       
   137     EGSSendIntCallIdDefault
       
   138     };
       
   139 
       
   140 // Internet call waiting    
       
   141 enum TGSVoIPCallWaiting
       
   142     {
       
   143     EGSCSCallWaitingOff = 0,    // Default
       
   144     EGSCSCallWaitingOn
       
   145     };
       
   146 
       
   147 // Preferred call type
       
   148 enum TGSVoIPPreferredType
       
   149     {
       
   150     EGSPreferredCS = 0,         // Default
       
   151     EGSPreferredPS
       
   152     };        
       
   153 
       
   154 // Internet call do not disturb
       
   155 enum TGSVoIPCallDnd
       
   156     {
       
   157     EGSCSCallDndOff = 0,        // Default
       
   158     EGSCSCallDndOn
       
   159     };
       
   160 
       
   161 //VT still image in use lbx indexes
       
   162 enum TGSVtStillImage
       
   163     {
       
   164     EGSVtStillImageNotInUse = 0,
       
   165     EGSVtStillImageInUse
       
   166     };
       
   167 
       
   168 //Listbox item indexes for Actions
       
   169 enum
       
   170     {
       
   171     ECFCmdActivate = 5001,
       
   172     ECFCmdCancel,
       
   173     ECFCmdCheckStatus,
       
   174     ECFCmdCancelAll
       
   175     };
       
   176 
       
   177 //Listbox item index for Long Press Call Key
       
   178 // NOTE : EGSLongPressCallKeyVoiceCall is the default value normally
       
   179 // NOTE: When Restore Factory Settings is done, the default value 
       
   180 //       is set to EGSLongPressCallKeyInActive
       
   181 // Three key values are used for a CenRep key though we have two
       
   182 // two setting items because these values are also been used by
       
   183 // CallUi and Phone Application.
       
   184 enum
       
   185     {
       
   186     EGSLongPressCallKeyNotSet = 0, // Value mapped to "InActive"
       
   187     EGSLongPressCallKeyVoiceCall, // Value mapped to "InActive"
       
   188     EGSLongPressCallKeyVideoCall // Value mapped to "Video Call"
       
   189     };
       
   190 
       
   191 //slide settings are shown or not
       
   192 enum TGSShowSlideSettings
       
   193     {
       
   194     EGSNotShowSlideSettings = 0,
       
   195     EGSShowSlideSettings
       
   196     };
       
   197 
       
   198 //opening slide answer call
       
   199 enum TGSOpeningSlideAnswerCall
       
   200     {
       
   201     EGSOpeningSlideAnswerCallOff = 0,
       
   202     EGSOpeningSlideAnswerCallOn
       
   203     };
       
   204 
       
   205 //closing slide end call
       
   206 enum TGSClosingSlideEndCall
       
   207     {
       
   208     EGSClosingSlideEndCallOff = 0,
       
   209     EGSClosingSlideEndCallOn
       
   210     };
       
   211 
       
   212 #endif // GSCALLPLUGIN_HRH
       
   213 
       
   214 //End of File