speechsrv_plat/vas_api/inc/nssvasmvasdatabaseobserver.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/speechsrv_plat/vas_api/inc/nssvasmvasdatabaseobserver.h	Wed Sep 01 12:29:17 2010 +0100
@@ -0,0 +1,52 @@
+/*
+* Copyright (c) 2002 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:  MNssVASDatabaseObserver is the interface class for VAS DB event 
+*				 notification to observers. An observer must derive from 
+*				 MNssVASDatabaseObserver and implement its HandleVASDBEvent
+*				 (TVASDBEVent aEvent) method to handle the event. 
+*
+*/
+
+
+#ifndef MNSSVASDATABASEOBSERVER_H
+#define MNSSVASDATABASEOBSERVER_H
+
+//  INCLUDES
+#include <nssvascvasdbevent.h>
+
+// CLASS DECLARATION
+
+/**
+* MNssVASDatabaseObserver is the interface class for VAS DB event notification. 
+* An observer must derive from MNssVASDatabaseObserver and implement 
+* its HandleVASDBEvent(CNssVASDBEvent aEvent) method to handle the event.
+* The clint is responsible for deleting the event object. 
+*  @lib NssVASApi.lib
+*  @since 2.8
+*/
+class MNssVASDatabaseObserver 
+    {
+    public: 
+      /**
+      * Callback for event notification
+      * @since 2.0
+      * @param aEvent 
+      * @return 
+      */
+	  virtual void HandleVASDBEvent(CNssVASDBEvent *aEvent) = 0;
+    };
+
+#endif      // MNSSVASDATABASEOBSERVER_H
+            
+// End of File