speechsrv_plat/vas_api/inc/nssvasmrejecttagcompletehandler.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2003 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:  The MRejectTagCompleteHandler interface class handles events 
       
    15 *                generated by RecognizeHandler::RejectTagL().
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MNSSREJECTTAGCOMPLETEHANDLER_H
       
    21 #define MNSSREJECTTAGCOMPLETEHANDLER_H
       
    22 
       
    23 //  INCLUDES
       
    24 
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  RejectTag event handler class.
       
    30 *  Handles events generated by MNssRecognitionHandler::RejectTagL().
       
    31 *
       
    32 *  @lib NssVASApi.lib
       
    33 *  @since 2.0
       
    34 */
       
    35 
       
    36 class MNssRejectTagCompleteHandler
       
    37     {
       
    38 
       
    39     public:  //enum
       
    40 
       
    41 	    enum TNssRejectTagError
       
    42         {
       
    43         EVasErrorNone,
       
    44         EVasRejectTagFailed,
       
    45 		EVasNoTagInContexts,
       
    46         EVasRecognizeUndefinedError10,   // for place holder
       
    47         EVasRecognizeUndefinedError9,
       
    48         EVasRecognizeUndefinedError8,
       
    49         EVasRecognizeUndefinedError7,
       
    50         EVasRecognizeUndefinedError6,
       
    51         EVasRecognizeUndefinedError5,
       
    52         EVasRecognizeUndefinedError4,
       
    53         EVasRecognizeUndefinedError3,
       
    54         EVasRecognizeUndefinedError2,
       
    55         EVasRecognizeUndefinedError1
       
    56         };
       
    57 	
       
    58     public: // New functions
       
    59 
       
    60 		/**
       
    61 		* RejectTag Complete Event -  The requested tags have been rejected, i.e. blacklisted. 
       
    62         * @since 2.0
       
    63         * @param 
       
    64         * @return void
       
    65         */      		
       
    66 		virtual void HandleRejectTagComplete( TNssRejectTagError aErrorCode ) = 0;
       
    67 
       
    68 		/**
       
    69 		* RejectTag Error Event - A RejectTag error has occurred  
       
    70         * @since 2.0
       
    71         * @param aErrorCode The RejectTag error code. 
       
    72         * @return void
       
    73         */
       
    74 		//virtual void HandleRejectTagError( TNssRejectTagError aErrorCode ) = 0;
       
    75 
       
    76     };
       
    77 
       
    78 #endif      // MREJECTTAGCOMPLETEHANDLER_H   
       
    79             
       
    80 // End of File