phonesrv_plat/phone_settings_api/inc/psetwrappertypes.h
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
child 21 0a6dd2dc9970
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
     1 /*
       
     2  * Copyright (c) 2009 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 PSETWRAPPERTYPES_H
       
    19 #define PSETWRAPPERTYPES_H
       
    20 
       
    21 #include <qglobal.h>
       
    22 
       
    23 const int maxBscNumber = 13;     //max. number of basic service groups
       
    24 const int maxPsuiItemLength = 32;//max. length of text in PSUI note
       
    25 
       
    26 // Status of Calling Identity.
       
    27 enum PsCallLineIdentity
       
    28 {
       
    29     ClirOn = 1,
       
    30     ClirOff,
       
    31     ClipOn,
       
    32     ClipOff,
       
    33     ColrOn,
       
    34     ColrOff,
       
    35     ColpOn,
       
    36     ColpOff,
       
    37     CliUnknown
       
    38 };
       
    39 
       
    40 //call forwarding statuses
       
    41 enum PsCallDivertingStatus
       
    42 {
       
    43     DivertingStatusActive,
       
    44     DivertingStatusInactive,
       
    45     DivertingStatusNotRegistered,
       
    46     DivertingStatusNotProvisioned,
       
    47     DivertingStatusUnknown
       
    48 };
       
    49 
       
    50 //call forwarding conditions
       
    51 enum PsCallDivertingCondition
       
    52 {
       
    53     DivertConditionUnknown,
       
    54     DivertConditionUnconditional,
       
    55     DivertConditionBusy,
       
    56     DivertConditionNoReply,
       
    57     DivertConditionNotReachable,
       
    58     DivertConditionAllCalls,
       
    59     DivertConditionAllConditionalCases
       
    60 };
       
    61 
       
    62 //call forwarding actions
       
    63 enum PsCallDivertingSetting
       
    64 {
       
    65     ActivateDiverting,
       
    66     CancelDiverting,
       
    67     RegisterDiverting,
       
    68     EraseDiverting,
       
    69     CheckStatus
       
    70 };
       
    71 
       
    72 // basic teleservice groups (ETSI Gsm 02.03 and 02.04)
       
    73 enum PsService
       
    74 {
       
    75     ServiceGroupUnknown = 0x00000000,
       
    76     ServiceGroupVoice = 0x00000001,
       
    77     ServiceGroupData = 0x00000002,
       
    78     ServiceGroupFax = 0x00000004,
       
    79     ServiceGroupAllTeleservices = ServiceGroupVoice | ServiceGroupData
       
    80             | ServiceGroupFax
       
    81 };
       
    82 typedef QFlags<PsService> PsServiceGroup;
       
    83 
       
    84 
       
    85 #endif // PSETWRAPPERTYPES_H