web_plat/widget_registry_api/inc/WidgetRegistryConstants.h
branchRCL_3
changeset 35 1f3c3f2f5b0a
parent 25 0ed94ceaa377
child 36 c711bdda59f4
--- a/web_plat/widget_registry_api/inc/WidgetRegistryConstants.h	Fri Mar 12 15:48:51 2010 +0200
+++ b/web_plat/widget_registry_api/inc/WidgetRegistryConstants.h	Mon Mar 15 12:44:50 2010 +0200
@@ -30,7 +30,12 @@
 const TUid KUidWidgetUi = { 0x10282822 };
 const TUid KUidWidgetLauncher = { 0x10282821 };
 
-#define WIDGETPROPERTYLISTVERSION 3
+#define WIDGETPROPERTYLISTVERSION 4
+
+const TInt KWidgetPropertyListVersion32 = 1;
+const TInt KWidgetPropertyListVersion71 = 3;
+const TInt KWidgetPropertyListVersion71CWRT = 4;
+
 // Before changing these, consider that there will be widgets
 // installed on removable memory cards according to an allocation
 // scheme using these bounds.
@@ -45,6 +50,15 @@
 const TInt32 KWidgetUidExternalMemoryStart = (KWidgetUidLowerBound + KWidgetUidUpperBound + 1) / 2; // half way
 const TInt32 KWidgetUidExternalMemoryStop = KWidgetUidUpperBound;
 
+// Additions for separation of CWRT Widget UID space from WRT Widget UID space
+const TInt32 KWidgetUidWRTInternalMemoryStop = (KWidgetUidInternalMemoryStart + KWidgetUidExternalMemoryStart + 1) / 2;
+const TInt32 KWidgetUidCWRTInternalMemoryStart = KWidgetUidWRTInternalMemoryStop;
+const TInt32 KWidgetUidCWRTInternalMemoryStop = KWidgetUidExternalMemoryStart;
+const TInt32 KWidgetUidWRTExternalMemoryStop = (KWidgetUidExternalMemoryStart + KWidgetUidExternalMemoryStop + 1) / 2;
+const TInt32 KWidgetUidCWRTExternalMemoryStart = KWidgetUidWRTExternalMemoryStop;
+const TInt32 KWidgetUidCWRTExternalMemoryStop = KWidgetUidUpperBound + 1;
+
+
 const TInt KWidgetRegistryClientVersionMajor = 0;
 const TInt KWidgetRegistryClientVersionMinor = 1;
 const TInt KWidgetRegistryClientVersionBuild = 1;
@@ -128,9 +142,12 @@
     // Do not add enums prior to this, if you are adding enums here 
     // take into consideration the compatibility problems, i.e widgets working after firmware update.  
 
-    EMiniViewEnable,            //optional; int internally 0 0r 1
-    EBlanketPermGranted,              //optional; int internally 0 0r 1
+    EMiniViewEnable,            // optional; int internally 0 0r 1
+    EBlanketPermGranted,        // optional; int internally 0 0r 1
     EPreInstalled,              // optional; int internally 0 or 1
+    
+    EProcessUid,                // int (UID of widget execution process)
+    EMimeType,
 
     // end property list, begin special values
     EWidgetPropertyIdCount,     // must be at end of properties