homescreensrv_plat/idlefw_api/inc/aifwdefs.h
branchRCL_3
changeset 8 d0529222e3f0
parent 0 79c6a41cd166
child 19 edd621764147
--- a/homescreensrv_plat/idlefw_api/inc/aifwdefs.h	Tue Feb 02 00:23:10 2010 +0200
+++ b/homescreensrv_plat/idlefw_api/inc/aifwdefs.h	Fri Feb 19 23:07:29 2010 +0200
@@ -16,25 +16,59 @@
 */
 
 
-#ifndef AIFWDEFS_H
-#define AIFWDEFS_H
+#ifndef _AIFWDEFS_H
+#define _AIFWDEFS_H
 
+// System inclides
 
-#include <e32std.h>
-#include <aipropertyextension.h>
+// User includes
+
+// Type definitions
 
 /**
- * Array of publisher Content publisher info records.
+ * AiFw State definitions.
+ *
+ * @since S60 5.2
  */
-typedef RArray<TAiPublisherInfo> RAiPublisherInfoArray;
-
-_LIT(KOnline_Offline, "online_offline");
+enum TAiFwState
+    {
+    EAiFwBacklightOn = 1,
+    EAiFwBacklightOff,
+    EAiFwForeground,
+    EAiFwBackground,
+    EAiFwBackupRestoreStart,
+    EAiFwBackupRestoreEnd,
+    EAiFwGeneralThemeChange,    
+    EAiFwUiStartup,
+    EAiFwUiShutdown,
+    EAiFwOnline,
+    EAiFwOffline
+    };
 
-enum TAifwStates
-	{
-	EAifwOffline,
-	EAifwOnline,
-	EAifwPageSwitch
-	};
+/**
+ * AiFw data plugin load reasons.
+ *
+ * @since S60 5.2
+ */    
+enum TAiFwLoadReason
+    {
+    EAiFwSystemStartup = 1,
+    EAiFwPageStartup,
+    EAiFwPluginStartup
+    };    
 
-#endif // AIFWDEFS_H
+/**
+ * AiFw data plugin destroy reasons.
+ *
+ * @since S60 5.2
+ */        
+enum TAiFwDestroyReason
+    {
+    EAiFwSystemShutdown = 1,
+    EAiFwPageShutdown,
+    EAiFwPluginShutdown
+    };
+
+#endif // _AIFWDEFS_H
+
+// End of file