commsconfig/cscengine/inc/mcscengcchobserver.h
branchRCL_3
changeset 22 d38647835c2e
parent 0 a4daefaec16c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/commsconfig/cscengine/inc/mcscengcchobserver.h	Wed Sep 01 12:29:57 2010 +0100
@@ -0,0 +1,52 @@
+/*
+* Copyright (c) 2007-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:  Observer interface for notifying service status changes.
+*
+*/
+
+
+#ifndef M_CSCENGCCHOBSERVER_H
+#define M_CSCENGCCHOBSERVER_H
+
+#include <cch.h>
+
+#include "cscengcchhandler.h"
+
+/**
+ *  MCSCEngCCHObserver class
+ *
+ *  Observer interface for notifying service status changes.
+ *
+ *  @lib cscengine.lib
+ *  @since S60 v5.0
+ */
+class MCSCEngCCHObserver
+    {
+    public:
+    
+        /**
+         * Should be called when service status changes.
+         *
+         * @since S60 v5.0
+         * @param aServiceId Id of the service
+         * @param aType Service type
+         * @param aServiceStatus Service status
+         */
+        virtual void ServiceStatusChanged(
+                TUint aServiceId, 
+                TCCHSubserviceType aType, 
+                const TCchServiceStatus& aServiceStatus ) = 0;            
+    };
+    
+#endif // M_CSCENGCCHOBSERVER_H