localisation/apparchitecture/inc/AppInfo.rh
branchSymbian3
changeset 57 b8d18c84f71c
parent 6 c108117318cb
--- a/localisation/apparchitecture/inc/AppInfo.rh	Wed Jul 28 16:03:37 2010 +0100
+++ b/localisation/apparchitecture/inc/AppInfo.rh	Tue Aug 03 10:20:34 2010 +0100
@@ -1,7 +1,7 @@
 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
-// under the terms of the License "Eclipse Public License v1.0"
+// 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".
 //
@@ -25,9 +25,9 @@
 */
 #define KMaxFileNameLength 256
 
-//////////////////////////////////////////////////////////////////
+//
 // DEFINITIONS FOR THE NON-LOCALISABLE REGISTRATION RESOURCE FILE
-//////////////////////////////////////////////////////////////////
+//
 
 /**
 @publishedAll
@@ -130,13 +130,39 @@
 @publishedAll
 @released
 */
+
+/* This enum is used to specify the priority at which an application can handle a particular MIME type.
+   The application with the highest priority will be considered as the default application 
+   for that particular MIME type.
+   Default association of MIME types with applications can be overridden by user settings,
+   except for applications handling data types with EDataTypePrioritySystem.
+*/
 enum
 	{
-	EDataTypePrioritySystem = 0xFFF9,
-	EDataTypePriorityHigh = 10000,
-	EDataTypePriorityNormal = 0,
-	EDataTypePriorityLow = -10000,
-	EDataTypePriorityLastResort = -20000
+	
+	EDataTypePrioritySystem = 0xFFF9, 		// This is a special priority that overrides any user settings. 
+						    		// Applications must have EWriteDeviceData capability to use this priority. 
+						 		// If not they will be downgraded to EDataTypePriorityNormal
+	
+
+	EDataTypePriorityTrustedHigh = 0xC000, 	// Trusted applications may use this priority value to ensure that their MIME type
+								// associations cannot be overridden by self signed (untrusted) applications 
+
+
+	EDataTypePriorityHigh = 10000,		// An application at EDataTypePriorityHigh will be given higher preference for a  
+								// particular data type, than applications with EDataTypePriorityNormal
+
+
+	EDataTypePriorityNormal = 0,			// An application at EDataTypePriorityNormal will be given higher preference for a  
+								// particular data type, than applications with EDataTypePriorityLow.
+	
+	
+	EDataTypePriorityLow = -10000,		// This priority means that the data type is a secondary type for that application. 
+								// For example, "text/plain" files for a web browser	
+
+
+	EDataTypePriorityLastResort = -20000	// This priority means that the data type is a last resort for that application
+								 
 	};
 
 /**
@@ -170,9 +196,9 @@
 	}
 
 
-/////////////////////////////////////////////////
+//
 // DEFINITIONS FOR THE LOCALISABLE RESOURCE FILE
-/////////////////////////////////////////////////
+//
 
 /**
 @publishedAll
@@ -229,3 +255,4 @@
 	}
 
 #endif
+