--- a/clock2/clockui/adtupdater/inc/adtupdaterappui.h Tue Sep 14 21:17:03 2010 +0300
+++ b/clock2/clockui/adtupdater/inc/adtupdaterappui.h Wed Sep 15 12:11:35 2010 +0300
@@ -69,6 +69,18 @@
void ToggleAppViewL( TBool aForeground );
/**
+ * @brief Checks whether adtupdater app is in background by window group id
+ * @return ETrue if the application is in background and EFalse if it is in foreground.
+ */
+ TBool IsAppInBackground();
+
+ /**
+ * @brief Checks whether any high priority window like call is active.
+ * @return ETrue if the high priority window is active and EFalse otherwise.
+ */
+ TBool IsHighPriorityWindowActive();
+
+ /**
* @brief Hides the status pane of the application.
* @param aHide ETrue if status pane has to be hidden.
*/
@@ -88,6 +100,15 @@
* @brief The container object.
*/
CAdtUpdaterContainer* iContainer;
+
+ private:
+
+ /**
+ * @var iAdtWgId
+ * @brief The id of the application's window group.
+ */
+ TInt iAdtWgId;
+
};
#endif // __ADTUPDATER_APPUI_H__