vtengines/videoteleng/CallCtrl/Inc/VtCtlTypes.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:  Data types for call control
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef VTCTLTYPES_H
       
    20 #define VTCTLTYPES_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "VtCtlDefs.h"
       
    24 #include "TVtCtlType.h"
       
    25 
       
    26 /**
       
    27 *  CS Session information.
       
    28 *
       
    29 *  @lib CSCallCtrl
       
    30 *  @since 2.6
       
    31 */
       
    32 class TVtCtlCSSessionInfoV1 : public TVtCtlType
       
    33     {
       
    34     public: // constructors
       
    35         /**
       
    36         * C++ default contructor.
       
    37         */
       
    38         inline TVtCtlCSSessionInfoV1();
       
    39 
       
    40     public: // data members
       
    41 
       
    42         // Session duration
       
    43         TVtCtlDuration  iDuration;
       
    44 
       
    45         // Address
       
    46         TVtCtlTelNumber iTelNumber;
       
    47 
       
    48         // Session state
       
    49         MVtCtlCallControl::TVtCtlState iState;
       
    50 
       
    51         // Previous session state
       
    52         MVtCtlCallControl::TVtCtlState iPreviousState;
       
    53 
       
    54         // Session direction MO/MT
       
    55         MVtCtlCallControl::TVtCtlDirection iDirection;
       
    56     };
       
    57 
       
    58 /**
       
    59 * Data passed in MVtCtlEventObserver::HandleVtSessionEventL
       
    60 * when event is KVtCtlEventSessionStatusChanged.
       
    61 */
       
    62 struct TVtCtlSessionStateEvent
       
    63     {
       
    64     /**
       
    65     * Session state
       
    66     */
       
    67     MVtCtlCallControl::TVtCtlState iState;
       
    68     
       
    69     /**
       
    70     * Previous session state
       
    71     */
       
    72     MVtCtlCallControl::TVtCtlState iPreviousState;
       
    73     
       
    74     /**
       
    75     * Session id
       
    76     */
       
    77     TVtCtlSessionId                iSessionId;
       
    78     };
       
    79 
       
    80 #include "VtCtlTypes.inl"
       
    81 
       
    82 #endif // VTCTLTYPES_H
       
    83 
       
    84 // End of File