voiceui/voiceuivoicerecognition/inc/vuicadaptstate.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef VUICADAPTSTATE_H
       
    20 #define VUICADAPTSTATE_H
       
    21 
       
    22 // INCLUDES
       
    23 #include "vuicstate.h"
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 
       
    27 class MNssAdaptationItem;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 /**
       
    31 * COMMENT
       
    32 */
       
    33 NONSHARABLE_CLASS( CAdaptState ) : public CState
       
    34 {
       
    35     public:     // Constructors and destructor
       
    36 
       
    37         /**
       
    38         * Symbian two-phased constructor.
       
    39         */
       
    40         static CAdaptState* NewL( CDataStorage& aDataStorage, CUiModel& aUiModel );
       
    41 
       
    42         /**
       
    43         * Destructor.
       
    44         */
       
    45         virtual ~CAdaptState();
       
    46                                 
       
    47     public:     // New functions
       
    48     
       
    49         /**
       
    50         * Handles received event
       
    51         * @param Event to be handled
       
    52         */
       
    53         virtual void HandleEventL( TInt aEvent );
       
    54         
       
    55         /**
       
    56         * Executes the state functionality
       
    57         */
       
    58         virtual void ExecuteL();
       
    59          
       
    60     protected:  // New functions
       
    61         
       
    62         /**
       
    63         * C++ default constructor.
       
    64         */
       
    65         CAdaptState( CDataStorage& aDataStorage, CUiModel& aUiModel );
       
    66 
       
    67     private:    // Functions
       
    68                 
       
    69     private:    // Data
       
    70     
       
    71         // Adaptation item
       
    72         MNssAdaptationItem*                 iAdaptationItem;
       
    73 };
       
    74 
       
    75 #endif  // VUICADAPTSTATE_H
       
    76 
       
    77 // End of File