speechsrv_plat/vas_api/inc/nssvasmtagselectnotification.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:29:17 +0100
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  The MTagSelectNotification interface class allows the client to
*                register and deregister for a voice tag select event.
*                See MTagSelectHandler class for event handler. 
*
*/


#ifndef MNSSTAGSELECTNOTIFICATION_H
#define MNSSTAGSELECTNOTIFICATION_H

// INCLUDES
#include <e32base.h>
#include <e32def.h>
#include "nssvasmcontext.h"
#include "nssvasmtagselecthandler.h"

// CLASS DEFINITIONS

/**
*  Voice Tag Select Notification class.
*  Allows the client to register and deregister for a voice tag select event.
*
*  @lib NssVASApi.lib
*  @since 2.8
*/

class MNssTagSelectNotification
{

public:


   public:  //enum

        enum TNssSelectResult
        {
        EVasErrorNone,
        EVasSelectFailed  
        };

        /**
        * Register for voice tag select notification
        * @since 2.0
        * @param aContext The voice tag context which determines notification.
        * @param aTagSelectHandler The event handler for tag select notification.
        * @return TSelectError Return code to indicate request was valid.
        */
        virtual TNssSelectResult RegisterL(
            MNssContext* aContext,
			MNssTagSelectHandler* aTagSelectHandler) = 0;

       /**
        * Deegister from voice tag select notification
        * @since 2.0
        * @param aContext The voice tag context which determines notification.
        * @param aTagSelectHandler The event handler for tag select notification,
		*                          used to deregister the correct client.
        * @return TSelectError Return code to indicate request was valid.
        */
        virtual TNssSelectResult Deregister(
            MNssContext* aContext,
			MNssTagSelectHandler * aTagSelectHandler) = 0;

};

#endif // MNSSTAGSELECTNOTIFICATION_H

// End of File