phonesrv_plat/voice_mailbox_number_api/inc/voicemailboxdefs.h
changeset 12 ae8abd0db65c
child 19 e44a8c097b15
equal deleted inserted replaced
0:ff3b6d0fd310 12:ae8abd0db65c
       
     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:  Constant used for vmbx engine
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef VOICEMAILBOXDEFS_H
       
    19 #define VOICEMAILBOXDEFS_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32base.h>
       
    23 #include <spdefinitions.h>
       
    24 
       
    25 /** Null service id, i.e. not specified service. */
       
    26 const TServiceId KVmbxServiceIdNone( 0 );
       
    27 /** Service id for CS voice mailbox */
       
    28 const TServiceId KVmbxServiceVoice( 0x01 );
       
    29 /** Service id for CS video mailbox */
       
    30 const TServiceId KVmbxServiceVideo( 0x01 );
       
    31 /** The max length of voice mailbox number */
       
    32 const TInt KVmbxMaxNumberLength = 100;
       
    33 
       
    34 /**  Vmbx ALS line determination */
       
    35 enum TVmbxAlsLineType
       
    36     {
       
    37     /**
       
    38      *  Default line, meaning current active line.
       
    39      */
       
    40     EVmbxAlsLineDefault,
       
    41     /**
       
    42      *  Current ALS line is Line1.
       
    43      */
       
    44     EVmbxAlsLine1,
       
    45     /**
       
    46      *  Current ALS line is Line2.
       
    47      */
       
    48     EVmbxAlsLine2
       
    49     };
       
    50 
       
    51 /** Type of Voice Mailbox. */
       
    52 enum TVmbxType
       
    53     {
       
    54     /**
       
    55      *  None vmbx type.
       
    56      */
       
    57     EVmbxNone = 0,
       
    58     /**
       
    59      *  Voice type.
       
    60      */
       
    61     EVmbxVoice,
       
    62     /**
       
    63      *  Video type.
       
    64      */
       
    65     EVmbxVideo,
       
    66     /**
       
    67      *  Voip type.
       
    68      */
       
    69     EVmbxVoip
       
    70     };
       
    71 
       
    72 /** Voice Mailbox feature flag definitions */
       
    73 enum TVmbxFeatureCapabilityFlag
       
    74     {
       
    75     /**
       
    76      * When flag is enabled the user is not allowed to define or
       
    77      * modify the voice mailbox number.
       
    78      */
       
    79     EVmbxChangeNbrNotAllowedOnUi = 0x01,
       
    80     };
       
    81 
       
    82 /** Vmbx Memory location which is currently used */
       
    83 enum TVmbxMemoryLocation
       
    84     {
       
    85     /**
       
    86      *  Using phone memory.
       
    87      */
       
    88     EVmbxPhoneMemory,
       
    89     /**
       
    90      *   Using Sim memory.
       
    91      */
       
    92     EVmbxSimMemory
       
    93     };
       
    94 
       
    95 /** Vmbx query type which currently wanted */
       
    96 enum TVmbxQueryMode
       
    97     {
       
    98     /**
       
    99      *  User want to define number.
       
   100      */
       
   101     EVmbxDefineMode,
       
   102     /**
       
   103      *  User want to change number.
       
   104      */
       
   105     EVmbxChangeMode
       
   106     };
       
   107 
       
   108 #endif // VOICEMAILBOXDEFS_H