srsf/nssvasapi/nssvasrecognition/inc/nssvasctagselectdata.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 CNssTagSelectData Class contains the data for tag select 
       
    15 *                notification.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CNSSTAGSELECTDATA_H
       
    21 #define CNSSTATSELECTDATA_H
       
    22 
       
    23 // INCLUDES
       
    24 
       
    25 #include "nssvasccontext.h"
       
    26 #include "nssvasmtagselecthandler.h"
       
    27 
       
    28 
       
    29 // CLASS DEFINITIONS
       
    30 
       
    31 /**
       
    32 *
       
    33 *  The CNssTagSelectData class contains the data for tag select notification. 
       
    34 *
       
    35 *  @lib NssVASApi.lib
       
    36 *  @since 2.8
       
    37 */
       
    38 
       
    39 class CNssTagSelectData : public CBase
       
    40 {
       
    41 
       
    42     public:  // Constructors and destructor
       
    43 
       
    44 
       
    45         /**
       
    46         * Two-phased constructor.
       
    47         */		
       
    48         static CNssTagSelectData* NewL(CNssContext* aContext, 
       
    49 								    MNssTagSelectHandler* aTagSelectHandler);
       
    50 
       
    51         /**
       
    52         * Two-phased constructor.
       
    53         */	
       
    54 		static CNssTagSelectData* NewLC(CNssContext* aContext, 
       
    55 								     MNssTagSelectHandler* aTagSelectHandler);
       
    56 
       
    57         /**
       
    58         * Destructor.
       
    59         */	
       
    60 		~CNssTagSelectData();
       
    61 
       
    62 
       
    63     public: // New functions
       
    64         
       
    65         /**
       
    66         * Get Context
       
    67         * @since 2.0
       
    68         * @return A pointer to the context.
       
    69         */
       
    70         CNssContext* Context();
       
    71 
       
    72         /**
       
    73         * Get TagSelectHandler
       
    74         * @since 2.0
       
    75         * @return A pointer to the TagSelectHandler event handler.
       
    76         */
       
    77         MNssTagSelectHandler* TagSelectHandler();
       
    78 
       
    79     private:
       
    80 
       
    81         /**
       
    82         * Constructor.
       
    83         */	
       
    84 		CNssTagSelectData();
       
    85 
       
    86        /**
       
    87         * By default Symbian 2nd phase constructor is private.
       
    88         */		
       
    89         void ConstructL(CNssContext* aContext, 
       
    90 					    MNssTagSelectHandler* aTagSelectHandler);
       
    91 
       
    92     private:
       
    93 
       
    94 		// Context - The context the selected voice tag appears in
       
    95 		CNssContext* iContext;
       
    96 
       
    97 		// Event Callback - The event handler to be notified when a voice tag is 
       
    98 		// selected in the context.
       
    99 		MNssTagSelectHandler* iTagSelectHandler;
       
   100 
       
   101 };
       
   102 
       
   103 #endif // CNssTagSELECTDATA_H
       
   104 
       
   105 // End of File