inc/muscallmonitorobserver.h
changeset 0 f0cf47e981f9
child 31 33a5d2bbf6fc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/muscallmonitorobserver.h	Thu Dec 17 08:44:37 2009 +0200
@@ -0,0 +1,55 @@
+/*
+* Copyright (c) 2005-2006 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:  Observer for listening status of current cs call
+*
+*/
+
+
+
+#ifndef MUSCALLMONITOROBSERVER_H
+#define MUSCALLMONITOROBSERVER_H
+
+#include <e32cmn.h>
+#include <CPbkContactItem.h>
+
+/**
+ * Observer for the monitor
+ *
+ * @lib musaoplugin.dll
+ */
+class MMusCallMonitorObserver
+    {
+
+public: // type definitions
+
+    virtual void CallConnectedL( const TDesC& aTelNumber ) = 0;
+    
+    virtual void CallHoldL( const TDesC& aTelNumber ) = 0;
+    
+    virtual void ConferenceCallL() = 0;
+    
+    virtual void NoActiveCallL() = 0;
+   
+    /**
+    *
+    */
+    virtual TBool ResolveAddressesL( CPbkContactItem& /*aPbkItem*/,
+                            CDesCArrayFlat*& /*aContactsArray*/,
+                            TPbkFieldId /*aTPbkFieldId*/  )
+        {
+        return EFalse;
+        }
+    };
+
+#endif // MUSCALLMONITOROBSERVER_H