iptel_plat/cch_client_api/inc/cchtypes.h
changeset 0 a4daefaec16c
equal deleted inserted replaced
-1:000000000000 0:a4daefaec16c
       
     1 /*
       
     2 * Copyright (c) 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:  Cch basic types
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CCHTYPES_H
       
    21 #define CCHTYPES_H
       
    22 
       
    23 /**
       
    24  * Subservice types
       
    25  */
       
    26 enum TCCHSubserviceType
       
    27     {
       
    28     ECCHUnknown = 0,
       
    29     ECCHVoIPSub,
       
    30     ECCHPresenceSub,
       
    31     ECCHIMSub,
       
    32     ECCHVMBxSub
       
    33     };
       
    34 
       
    35 /**
       
    36  * State of subservice
       
    37  */
       
    38 enum TCCHSubserviceState
       
    39     {
       
    40     ECCHUninitialized = 0,
       
    41     ECCHDisabled,
       
    42     ECCHConnecting,
       
    43     ECCHEnabled,
       
    44     ECCHDisconnecting
       
    45     };
       
    46 
       
    47 /**
       
    48  * State of subservice
       
    49  */
       
    50 enum TCchConnectionParameter
       
    51     {
       
    52     ECchInitial = 0,    // Type TInt, initial value
       
    53     ECchIapId,          // Type TInt, read/write 
       
    54     ECchSnapId,         // Type TInt, read/write
       
    55     ECchServiceInfo,    // Type Describtor, read only
       
    56     ECchSnapLocked,     // Type TInt, read only
       
    57     ECchUsername,       // Type Describtor, read/write, 
       
    58                         // TCCHSubserviceType ECCHUnknown has to be used for ECchUsername
       
    59     ECchPassword,       // Type Describtor, write only
       
    60                         // TCCHSubserviceType ECCHUnknown has to be used for ECchUsername
       
    61     ECchPasswordSet,    // Type TInt, read. True if password has been set, else false.
       
    62     ECchReserved         // Type TInt, read/write. Reserved (obsolote) When adding next new parameter  
       
    63                          // rename Reserved to that, implementation is ready then.   
       
    64     };    
       
    65 
       
    66 #endif // CCHTYPES_H