os/mm/mmdevicefw/speechrecogsupport/ASR/inc/mmf/common/SpeechRecognitionDataTest.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __SPEECHRECOGNITIONDATATEST_H__
    17 #define __SPEECHRECOGNITIONDATATEST_H__
    18 
    19 //  INCLUDES
    20 #include <e32base.h>
    21 
    22 /**
    23 @publishedAll
    24 @released
    25 
    26 Class to encapsulate diagnostic parameter values.
    27 
    28 @since  2.0
    29 */
    30 
    31 class TDiagnostic
    32 {
    33 public:// Constructors and destructor
    34 	/**
    35     Two-phased constructor.
    36 	*/
    37 	IMPORT_C TDiagnostic();
    38 
    39 	/**
    40 	Destructor.
    41 	*/
    42 	IMPORT_C ~TDiagnostic();
    43 
    44 public:
    45 	/** Signal to noise ratio.
    46 	*/
    47 	TInt32 iSNR;
    48 	/** Whether the recognition result was accepted.
    49 	*/
    50 	TBool iAccepted;
    51 	/** Controller specific diagnostic data related to the recognition result.
    52 	*/
    53 	TPtr iData;
    54 };
    55 
    56 #endif // __SPEECHRECOGNITIONDATATEST_H__