localisation/apparchitecture/inc/AppInfo.rh
branchSymbian3
changeset 57 b8d18c84f71c
parent 6 c108117318cb
equal deleted inserted replaced
56:aa99f2208aad 57:b8d18c84f71c
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    23 @publishedAll
    23 @publishedAll
    24 @released
    24 @released
    25 */
    25 */
    26 #define KMaxFileNameLength 256
    26 #define KMaxFileNameLength 256
    27 
    27 
    28 //////////////////////////////////////////////////////////////////
    28 //
    29 // DEFINITIONS FOR THE NON-LOCALISABLE REGISTRATION RESOURCE FILE
    29 // DEFINITIONS FOR THE NON-LOCALISABLE REGISTRATION RESOURCE FILE
    30 //////////////////////////////////////////////////////////////////
    30 //
    31 
    31 
    32 /**
    32 /**
    33 @publishedAll
    33 @publishedAll
    34 @released
    34 @released
    35 */
    35 */
   128 
   128 
   129 /**
   129 /**
   130 @publishedAll
   130 @publishedAll
   131 @released
   131 @released
   132 */
   132 */
       
   133 
       
   134 /* This enum is used to specify the priority at which an application can handle a particular MIME type.
       
   135    The application with the highest priority will be considered as the default application 
       
   136    for that particular MIME type.
       
   137    Default association of MIME types with applications can be overridden by user settings,
       
   138    except for applications handling data types with EDataTypePrioritySystem.
       
   139 */
   133 enum
   140 enum
   134 	{
   141 	{
   135 	EDataTypePrioritySystem = 0xFFF9,
   142 	
   136 	EDataTypePriorityHigh = 10000,
   143 	EDataTypePrioritySystem = 0xFFF9, 		// This is a special priority that overrides any user settings. 
   137 	EDataTypePriorityNormal = 0,
   144 						    		// Applications must have EWriteDeviceData capability to use this priority. 
   138 	EDataTypePriorityLow = -10000,
   145 						 		// If not they will be downgraded to EDataTypePriorityNormal
   139 	EDataTypePriorityLastResort = -20000
   146 	
       
   147 
       
   148 	EDataTypePriorityTrustedHigh = 0xC000, 	// Trusted applications may use this priority value to ensure that their MIME type
       
   149 								// associations cannot be overridden by self signed (untrusted) applications 
       
   150 
       
   151 
       
   152 	EDataTypePriorityHigh = 10000,		// An application at EDataTypePriorityHigh will be given higher preference for a  
       
   153 								// particular data type, than applications with EDataTypePriorityNormal
       
   154 
       
   155 
       
   156 	EDataTypePriorityNormal = 0,			// An application at EDataTypePriorityNormal will be given higher preference for a  
       
   157 								// particular data type, than applications with EDataTypePriorityLow.
       
   158 	
       
   159 	
       
   160 	EDataTypePriorityLow = -10000,		// This priority means that the data type is a secondary type for that application. 
       
   161 								// For example, "text/plain" files for a web browser	
       
   162 
       
   163 
       
   164 	EDataTypePriorityLastResort = -20000	// This priority means that the data type is a last resort for that application
       
   165 								 
   140 	};
   166 	};
   141 
   167 
   142 /**
   168 /**
   143 @publishedAll
   169 @publishedAll
   144 @released
   170 @released
   168 	LEN WORD STRUCT datatype_list[];
   194 	LEN WORD STRUCT datatype_list[];
   169 	LLINK opaque_data = 0;
   195 	LLINK opaque_data = 0;
   170 	}
   196 	}
   171 
   197 
   172 
   198 
   173 /////////////////////////////////////////////////
   199 //
   174 // DEFINITIONS FOR THE LOCALISABLE RESOURCE FILE
   200 // DEFINITIONS FOR THE LOCALISABLE RESOURCE FILE
   175 /////////////////////////////////////////////////
   201 //
   176 
   202 
   177 /**
   203 /**
   178 @publishedAll
   204 @publishedAll
   179 @released
   205 @released
   180 */
   206 */
   227 	//
   253 	//
   228 	STRUCT caption_and_icon; // CAPTION_AND_ICON_INFO
   254 	STRUCT caption_and_icon; // CAPTION_AND_ICON_INFO
   229 	}
   255 	}
   230 
   256 
   231 #endif
   257 #endif
       
   258