vtengines/videoteleng/CallCtrl/Inc/VtCtlDefs.h
changeset 0 ed9695c8bcbe
equal deleted inserted replaced
-1:000000000000 0:ed9695c8bcbe
       
     1 /*
       
     2 * Copyright (c) 2004 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:  General definitions for Video telephony call control
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef VTCTLDEFS_H
       
    21 #define VTCTLDEFS_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 // Null session id
       
    29 const TInt KNullSessionId = -1;
       
    30 
       
    31 // Session id for active session
       
    32 const TInt KActiveSessionId = -2;
       
    33 
       
    34 /**
       
    35 * Active object priorities
       
    36 */
       
    37 const TInt KVtCtlCallAdditionMonitorPriority = CActive::EPriorityStandard;
       
    38 const TInt KVtCtlCallStatusMonitorPriority = CActive::EPriorityStandard;
       
    39 
       
    40 /**
       
    41 * Maximum length for telephone number
       
    42 */
       
    43 const TInt KVtCtlTelNumberLength = 100;
       
    44 
       
    45 
       
    46 // DATA TYPES
       
    47 
       
    48 /**
       
    49 * Remote end address
       
    50 */
       
    51 typedef TBuf<KVtCtlTelNumberLength> TVtCtlTelNumber;
       
    52 
       
    53 /**
       
    54 * Session duration
       
    55 */
       
    56 typedef TTimeIntervalSeconds TVtCtlDuration;
       
    57 
       
    58 /**
       
    59 * Session array
       
    60 */
       
    61 typedef RArray<TInt> RVtCtlSessionIdArray;
       
    62 
       
    63 /**
       
    64 * Session id
       
    65 */
       
    66 typedef TInt TVtCtlSessionId;
       
    67 
       
    68 /**
       
    69 * Session command
       
    70 */
       
    71 typedef TInt TVtCtlCmd;
       
    72 
       
    73 /**
       
    74 * Extension ids
       
    75 */
       
    76 enum {
       
    77     EVtCtlCSSessionInfoExtensionId = 1
       
    78     };
       
    79 
       
    80 #endif      // VTCTLDEFS_H
       
    81 
       
    82 // End of File