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