speechsrv_plat/vas_api/inc/nssvasmvasdbeventnotifier.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2002 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:  MNssVASDBEventNotifier is the interface class for clients to add 
       
    15 *				 or remove observers to the VAS database. 
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef NSSMVASDBEVENTNOTIFIER_H
       
    21 #define NSSMVASDBEVENTNOTIFIER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <nssvascoreconstant.h>
       
    25 #include <nssvasmvasdatabaseobserver.h>
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  MNssVASDBEventNotifier is the interface class for clients to add/remove observers.
       
    32 *  @lib NssVASApi.lib
       
    33 *  @since 2.8
       
    34 */
       
    35 class MNssVASDBEventNotifier 
       
    36     {
       
    37     public:  
       
    38       /**
       
    39       * Adds an observer to VAS DB
       
    40       * @since 2.0
       
    41       * @param call back address
       
    42       * @return none
       
    43       */
       
    44 	  virtual void AddObserverL(MNssVASDatabaseObserver* aObserver) = 0;
       
    45 
       
    46 	  /**
       
    47       * Removes an observer from VAS DB
       
    48       * @param call back address
       
    49       * @leave KErrNotFound if given observer has never been added
       
    50       */
       
    51 	  virtual void RemoveObserverL(MNssVASDatabaseObserver* aObserver) = 0;
       
    52 
       
    53     };
       
    54 
       
    55 #endif      // MVASDBEVENTNOTIFIER_H
       
    56             
       
    57 // End of File