voipplugins/sipconnectionprovider/inc/scpsipconnectionobserver.h
changeset 0 a4daefaec16c
child 9 bddb6d4447db
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/voipplugins/sipconnectionprovider/inc/scpsipconnectionobserver.h	Mon Jan 18 20:12:36 2010 +0200
@@ -0,0 +1,65 @@
+/*
+* Copyright (c) 2006-2007 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:  
+*
+*/
+
+
+#ifndef M_SCPSIPCONNECTIONOBSERVER_H
+#define M_SCPSIPCONNECTIONOBSERVER_H
+
+#include <e32std.h>
+#include <e32base.h>
+
+#include "scpdefs.h"
+
+/**
+ *  MScpSipConnectionObserver declaration.
+ *  @lib sipconnectionprovider.dll
+ */
+class MScpSipConnectionObserver
+    {
+public:
+
+    /**
+     * SIP profile state observer.
+     * @param aProfileId SIP profile id
+     * @param aSipEvent A new event of SIP profile.
+     */
+    virtual void HandleSipConnectionEvent( TUint32 aProfileId,
+                                           TScpConnectionEvent aEvent ) = 0;
+        
+    };
+
+/**
+ *  MScpConnectionObserver declaration.
+ *  @lib sipconnectionprovider.dll
+ */
+class MScpConnectionObserver
+    {
+public:
+
+    /**
+     * SIP profile state observer.
+     * @param aProfileId SIP profile id
+     * @param aSipEvent A new event of SIP profile.
+     */
+    virtual void HandleConnectionEvent( TScpConnectionEvent aEvent ) = 0;
+        
+    };
+
+
+#endif // M_SCPSIPCONNECTIONOBSERVER_H
+
+// End of file