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