gssettingsuis/Gs/GSCallDivertPlugin/Inc/CallDivertPlugin.hrh
branchRCL_3
changeset 24 8ee96d21d9bf
parent 23 8bda91a87a00
child 25 7e0eff37aedb
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
     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:  Contains definition of constants used in CallDivertPlugin.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef GSCALLDIVERTPLUGIN_HRH
       
    19 #define GSCALLDIVERTPLUGIN_HRH
       
    20 
       
    21 // Data query max length
       
    22 #ifndef KGSMaxDataLength
       
    23     #define KGSMaxDataLength 21
       
    24 #endif
       
    25 
       
    26 /**
       
    27 * Main view is actually a selection list of three basic service groups which 
       
    28 * are wanted to be configured:
       
    29 *   - Voice calls §qtn_div_voice_calls§ ,
       
    30 *   - Data and video calls §qtn_div_data_video_calls§ if the Video telephone is
       
    31 *     supported, otherwise Data calls §qtn_div_data_calls§ , and
       
    32 *   - Fax calls §qtn_div_fax_calls§
       
    33 * When the user selects one of these, control moves to its basic service group 
       
    34 * Divert service view, see ? 4.2.1.1 Divert setting service views.
       
    35 */
       
    36 enum TGSCallDivertServiceGroups
       
    37     {
       
    38     EGSSettIdVoiceDivert,
       
    39     EGSSettIdVideoDivert
       
    40     };
       
    41 
       
    42 /**
       
    43 * Each basic service group has the same five call forwarding service items in
       
    44 * their own views. All three views are specified in this Section, and are 
       
    45 * called accordingly as Div_voi, Div_dat, and Div_fax views when a reference is
       
    46 * needed. 
       
    47 */
       
    48 enum TGSCallDivertServices
       
    49     {
       
    50     ECFDivertVoiceCalls = 0,
       
    51     ECFDivertVideoCalls,
       
    52     ECFDivertWhenBusy,
       
    53     ECFDivertWhenNoAnswer,
       
    54     ECFDivertWhenOutOfReach,
       
    55     ECFDivertWhenNotAvailable
       
    56     };
       
    57 
       
    58 /**
       
    59 * Divert settings view’s options menu has the following functions:
       
    60 * - Activate §text_activate_divert§ starts an activation "process" before the service request is sent to the network for a currently focused service. I.e. for the voice calls in case of first five items, further specification in ? 4.3.1.1 For voice calls, and in Fax and Data cases see ? 4.3.1.2 For data and video calls. This option belongs to the context specific options menu list.
       
    61 * - Cancel §text_cancel_divert§ deactivates a currently focused service, i.e. deactivates only those basic services which are activated with the Activate function, see more in ? 4.3.2 Deactivation. This option belongs to the context specific options menu list.
       
    62 * - Check status §text_check_status§ asks the status of the focused service from the network, i.e. interrogations only those basic services which are activated with the Activate function, see more in ? 4.3.3 Status checking. For composite conditional service If not available this function is not available. This option belongs to the context specific options menu list.
       
    63 * - Help §qtn_options_help§ opens a context sensitive help (ref. ? |18| ) with help IDs [DIV_HLP_CALL_FORW_VOI] for the Div_voi view, [DIV_HLP_CALL_FORW_DAT] for the Div_dat view, and [DIV_HLP_CALL_FORW_FAX] for the Div_fax view.
       
    64 * - Exit §qtn_options_exit§ . Closes the Control Panel application (ref. ? |3| )
       
    65 * I.e. with functions Cancel and Check status service request is sent immediately without any additional queries. 
       
    66 * 
       
    67 */
       
    68 enum TGSCallDivertFunctions
       
    69     {
       
    70     ECFCmdActivate = 5001,
       
    71     ECFCmdCancel,
       
    72     ECFCmdCheckStatus,
       
    73     ECFCmdCancelAll
       
    74     };
       
    75 
       
    76 #endif // GSCALLDIVERTPLUGIN_HRH
       
    77 
       
    78 //End of File