taskswitcher/contextengine/tsfswserver/engine/inc/tsfswobservers.h
branchRCL_3
changeset 83 5456b4e8b3a8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/taskswitcher/contextengine/tsfswserver/engine/inc/tsfswobservers.h	Wed Sep 01 12:32:46 2010 +0100
@@ -0,0 +1,74 @@
+/*
+* Copyright (c) 2008 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 interfaces to get notifications from appui and from engine
+ *
+*/
+
+
+#ifndef TSFSWOBSERVERS_H
+#define TSFSWOBSERVERS_H
+
+/**
+ * Interface to get notifications from appui when window groups
+ * have changed.
+ */
+class MTsFswTaskListObserver
+    {
+public:
+    /**
+     * Function called by AppUi to notify about possible
+     * changes in task list
+     */
+    virtual void UpdateTaskList() = 0;
+    };
+
+/**
+ * Interface to get notifications from appui's HandleResourceChangeL.
+ */
+class MTsFswResourceObserver
+    {
+public:
+    /**
+     * Function called by AppUi to notify about resource changes.
+     */
+    virtual void HandleResourceChange( TInt aType ) = 0;
+    };
+
+/**
+ * Observer interface to get notifications from engine
+ * when fsw content has changed.
+ */
+class MTsFswEngineObserver
+    {
+public:
+    /**
+     * Called when there is a change in the task list.
+     */
+    virtual void FswDataChanged() = 0;
+    };
+
+/**
+ * This class is interface for CTsFsHiddenAppList
+ * to notify about list change
+ */
+class MTsFsHiddenAppListObserver
+    {
+public:
+    /**
+     * This function is called by CTsFsHiddenAppList when list is changed.
+     */
+    virtual void HiddenAppListUpdated() = 0;
+    };
+
+#endif