phonesettings/cpphonesettingsplugins/cptelephonyutils/inc/cptelephonyutilsdefs.h
branchRCL_3
changeset 61 41a7f70b3818
child 76 cfea66083b62
equal deleted inserted replaced
58:40a3f856b14d 61:41a7f70b3818
       
     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 CPTELEPHONYUTILSDEFS_H_
       
    19 #define CPTELEPHONYUTILSDEFS_H_
       
    20 
       
    21 
       
    22 #ifdef BUILD_CPTELEPHONYUTILS
       
    23 #define CPTELEPHONYUTILS_EXPORT Q_DECL_EXPORT
       
    24 #else
       
    25 #define CPTELEPHONYUTILS_EXPORT Q_DECL_IMPORT
       
    26 #endif
       
    27 
       
    28 namespace CpTelephonyUtils {
       
    29 
       
    30 /*! Type of a call forwarding request. */
       
    31 enum CallDivertType
       
    32     {
       
    33     /*! Not a call forwarding request.                      */
       
    34     NoCallDivert                    = 1,
       
    35     /*! Call forwarding with number information.            */
       
    36     CallDivertWithNumber,
       
    37     /*! Call forwarding with number and timeout information.*/
       
    38     CallDivertWithNumberAndTimeout,
       
    39     };
       
    40 
       
    41 enum BasicServiceGroups
       
    42 {
       
    43     Unknown = -1, //this is not part of GSM standard
       
    44     // Phone settings updates this automatically to ETelephony or to EAltTele,
       
    45     // depending on if ALS is supported, and which line is active.
       
    46     AllTeleAndBearer = 0,
       
    47     AllTele = 10,
       
    48     Telephony = 11,
       
    49     AllDataTele = 12,
       
    50     Fax = 13,
       
    51     Sms = 16,
       
    52     AllDataExSms = 18, //voice broadcast in gsm 02.30 v. 7.1.0
       
    53     AllTeleExcSms = 19,
       
    54 
       
    55     AllPlmnTele = 50,
       
    56     PlmnTele1 = 51,
       
    57     PlmnTele2 = 52,
       
    58     PlmnTele3 = 53,
       
    59     PlmnTele4 = 54,
       
    60     PlmnTele5 = 55,
       
    61     PlmnTele6 = 56,
       
    62     PlmnTele7 = 57,
       
    63     PlmnTele8 = 58,
       
    64     PlmnTele9 = 59,
       
    65     PlmnTeleA = 60,
       
    66     PlmnTeleB = 61,
       
    67     PlmnTeleC = 62,
       
    68     PlmnTeleD = 63,
       
    69     PlmnTeleE = 64,
       
    70     PlmnTeleF = 65,
       
    71 
       
    72     AllBearer = 20,
       
    73     AllAsync = 21,
       
    74     AllSync = 22,
       
    75     SyncData = 24,
       
    76     AsyncData = 25,
       
    77     PacketData = 26,
       
    78     PadAccess = 27,
       
    79     AllPlmnBearer = 70,
       
    80     PlmnBearerServ1 = 71,
       
    81     PlmnBearerServ2 = 72,
       
    82     PlmnBearerServ3 = 73,
       
    83     PlmnBearerServ4 = 74,
       
    84     PlmnBearerServ5 = 75,
       
    85     PlmnBearerServ6 = 76,
       
    86     PlmnBearerServ7 = 77,
       
    87     PlmnBearerServ8 = 78,
       
    88     PlmnBearerServ9 = 79,
       
    89     PlmnBearerServA = 80,
       
    90     PlmnBearerServB = 81,
       
    91     PlmnBearerServC = 82,
       
    92     PlmnBearerServD = 83,
       
    93     PlmnBearerServE = 84,
       
    94     PlmnBearerServF = 85,
       
    95 
       
    96     AltTele = 89
       
    97 // no ui note support
       
    98 };
       
    99 
       
   100 } // namespace 
       
   101 
       
   102 #endif /* CPTELEPHONYUTILSDEFS_H_ */