speechsrv_plat/vas_api/inc/nssvascrecognitionhandlerbuilder.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 CNssRecognitionHandlerBuilder class performs initialization 
       
    15 *                for CNssRecognitionHandler the  class. 
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CNSSRECOGNITIONHANDLERBUILDER_H
       
    21 #define CNSSRECOGNITIONHANDLERBUILDER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include <e32def.h>
       
    26 #include "nssvasmrecognitionhandler.h"
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 
       
    30 class CNssRecognitionHandler;
       
    31 
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36 *
       
    37 *  The CNssRecognitionHandlerBuilder class performs initialization for the 
       
    38 *  CNssRecognitionHandler class.
       
    39 *
       
    40 *  @lib NssVASApi.lib
       
    41 *  @since 2.8
       
    42 */
       
    43 class CNssRecognitionHandlerBuilder :public CBase
       
    44     {
       
    45 
       
    46     public:  // Constructors and destructor
       
    47 
       
    48         /**
       
    49         * Two-phased constructor.
       
    50         */		
       
    51 		IMPORT_C static CNssRecognitionHandlerBuilder* NewL();
       
    52 
       
    53         /**
       
    54         * Two-phased constructor.
       
    55         */			
       
    56 		IMPORT_C static CNssRecognitionHandlerBuilder* NewLC();
       
    57         
       
    58         /**
       
    59         * Destructor.
       
    60         */				
       
    61 		~CNssRecognitionHandlerBuilder();
       
    62 
       
    63     public: // New functions
       
    64         
       
    65          /**
       
    66         * Initialize RecognitionHandler object 
       
    67         * @since 2.0
       
    68         * @return void
       
    69         */ 
       
    70         IMPORT_C void InitializeL();
       
    71 
       
    72         /**
       
    73         * Get a Pointer to Recognition Handler object.
       
    74         * @since 2.0
       
    75         * @return MNssRecognitionHandler* Pointer to the MNssRecognitionHandler
       
    76 		*                              object.
       
    77         */
       
    78         IMPORT_C MNssRecognitionHandler* GetRecognitionHandler();
       
    79 
       
    80     private:
       
    81 
       
    82 		/**
       
    83         * Constructor.
       
    84         */	
       
    85 		CNssRecognitionHandlerBuilder();
       
    86 
       
    87     private:    // Data
       
    88 
       
    89 		// Pointer to the Recognition Handler object.
       
    90 		CNssRecognitionHandler  * iRecognitionHandler;
       
    91 
       
    92     };
       
    93 
       
    94 #endif      // CRECOGNITIONHANDLERBUILDER_H   
       
    95             
       
    96 // End of File