vtengines/videoteleng/Inc/State/CVtEngStateNegotiating.h
changeset 0 ed9695c8bcbe
equal deleted inserted replaced
-1:000000000000 0:ed9695c8bcbe
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Negotiating state
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CVTENGSTATENEGOTIATING_H
       
    21 #define CVTENGSTATENEGOTIATING_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include "CVtEngStateBase.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CVtEngStateManager;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  Negotiatimg state class
       
    33 *
       
    34 *  @lib videoteleng
       
    35 *  @since 2.6
       
    36 */
       
    37 NONSHARABLE_CLASS( CVtEngStateNegotiating ) : public CVtEngStateBase
       
    38     {
       
    39     public:  // Constructors and destructor
       
    40 
       
    41         /**
       
    42         * C++ constructor.
       
    43         */
       
    44         CVtEngStateNegotiating(
       
    45             CVtEngStateManager& aStateManager,
       
    46             CVtEngEventManager& aEventManager );
       
    47 
       
    48 
       
    49         /**
       
    50         * Destructor.
       
    51         */
       
    52         virtual ~CVtEngStateNegotiating();
       
    53 
       
    54     public: // From CVtEngStateBase
       
    55 
       
    56         /**
       
    57         * Updates state. May result to state transition
       
    58         */
       
    59         virtual void UpdateL();
       
    60 
       
    61         /**
       
    62         * Validates a command.
       
    63         */
       
    64         TBool ValidateCommand(
       
    65             const TVtEngCommandId aCommandId );
       
    66 
       
    67         /**
       
    68         * @see CVtEngStateBase
       
    69         */
       
    70         virtual MVtEngSessionInfo::TSessionState State() const;
       
    71 
       
    72         /**
       
    73         * @see CVtEngStateBase
       
    74         */
       
    75         virtual TBool HandleL( CVtEngOperation& aOp );
       
    76 
       
    77     private:
       
    78 
       
    79         /**
       
    80         * Handles state transition to negotiating.
       
    81         */
       
    82         void DoOpenL();
       
    83 
       
    84     };
       
    85 
       
    86 #endif      // CVTENGSTATENEGOTIATING_H
       
    87 
       
    88 // End of File