Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 #if !defined(__E32BASE_H__)
28 const TUint KApaCommandLetterOpen='O';
33 const TUint KApaCommandLetterCreate='C';
38 const TUint KApaCommandLetterRun='R';
43 const TUint KApaCommandLetterBackground='B';
48 const TUint KApaCommandLetterViewActivate='V';
53 const TUint KApaCommandLetterRunWithoutViews='W';
58 const TUint KApaCommandLetterBackgroundAndWithoutViews='A';
60 /** Defines the command codes used to indicate the way an application is to be
65 @see CApaCommandLine */
68 /** The application is to open the document specified on the command line. */
70 /** The application is to create the document specified on the command line. */
72 /** The application is to run and open the last used document. */
74 /** The application is to open the last used document and to run in the background. */
75 EApaCommandBackground,
76 /** Reserved for future use. */
77 EApaCommandViewActivate,
78 /** The application is to run without views.
80 This should NOT be used for view based applications. */
81 EApaCommandRunWithoutViews,
82 /** The application is to run in the background and viewless mode */
83 EApaCommandBackgroundAndWithoutViews
90 const TInt KApaMaxAppCaption=0x100; // Default name is a file name, so the same limit is used
92 // TApaAppCaption is the current language name of the app (for task lists, dialogs etc)
94 /** Defines a modifiable buffer descriptor to contain the caption or the short caption
99 typedef TBuf<KApaMaxAppCaption> TApaAppCaption;
104 const TInt KApaMaxCommandLine=0x100;
109 typedef TBuf<KApaMaxCommandLine> TApaCommandLine;
114 const TInt KApaMaxAppFileName=0x10; // Length of App's filename without path or extension (not it's caption)
119 typedef TBuf<KApaMaxAppFileName> TApaAppFileName;
121 /** Maximum length of an application group name.
125 @see TApaAppGroupName */
126 const TInt KApaMaxAppGroupName=0x10; // Length of App's logical groupname
128 /** An application group name.
130 This is a name that allows applications to be categorized, for instance "Games"
135 typedef TBuf<KApaMaxAppGroupName> TApaAppGroupName;
137 /** The hexadecimal value of the 2nd UID that identifies a DLL as being an ASCII UI
138 application. In .mmp files, the hexadecimal number is explicitly inserted
139 as the first value following the UID keyword.
143 const TInt KAppUidValue8 = 0x1000006c;
145 /** The 2nd UID that identifies a DLL as being an ASCII UI application.
149 const TUid KUidApp8={KAppUidValue8};
151 /** The hexadecimal value of the 2nd UID that defines a DLL as being a Unicode
152 UI application. In .mmp files, the hexadecimal number is explicitly inserted
153 as the first value following the UID keyword.
158 const TInt KAppUidValue16 = 0x100039CE;
160 /** The 2nd UID that defines a DLL as being a Unicode UI application.
165 const TUid KUidApp16={KAppUidValue16};
168 // 2nd Uid for app doc files
173 const TUid KUidAppDllDoc8={268435565};
179 const TUid KUidAppDllDoc16={0x10003A12};
181 /** The UID encoded in a TPictureHeader that identifies a picture as a door (for
187 const TUid KUidPictureTypeDoor8={268435537};
189 /** The UID encoded in a TPictureHeader that identifies a picture as a door (for
194 @see KUidPictureTypeDoor */
195 const TUid KUidPictureTypeDoor16={0x10003A33};
198 // Uid's for streams in stream dictionaries
203 const TUid KUidSecurityStream8={268435661};
209 const TUid KUidSecurityStream16={0x10003A40};
215 const TUid KUidAppIdentifierStream8={268435593}; // stream containing a TApaAppIdentifier
221 const TUid KUidAppIdentifierStream16={0x10003A34};
224 /** The type-independent 2nd UID that identifies a DLL as being a UI application.
230 #define KUidApp KUidApp16
231 /** The type-independent hexadecimal value of the 2nd UID that identifies a DLL as
232 being a UI application.
237 @see KAppUidValue8 */
238 #define KAppUidValue KAppUidValue16 //lint !e1923 supress could become const variable
243 #define KUidAppDllDoc KUidAppDllDoc16
244 /** The type independent UID encoded in a TPictureHeader that identifies a picture
249 @see KUidPictureTypeDoor16
250 @see KUidPictureTypeDoor8
252 @see TApaModelDoorFactory::NewPictureL() */
253 #define KUidPictureTypeDoor KUidPictureTypeDoor16
258 #define KUidAppIdentifierStream KUidAppIdentifierStream16
263 #define KUidSecurityStream KUidSecurityStream16
265 /** The type independent 2nd UID that defines a DLL as being a UI application.
269 #define KUidApp KUidApp8
270 /** The type independent hexadecimal value of the 2nd UID that defines a DLL as
271 being a UI application.
274 @see KAppUidValue8 */
275 #define KAppUidValue KAppUidValue8
276 #define KUidAppDllDoc KUidAppDllDoc8
277 /** The type independent UID encoded in a TPictureHeader that identifies a picture
280 @see KUidPictureTypeDoor16
281 @see KUidPictureTypeDoor8
283 @see TApaModelDoorFactory::NewPictureL() */
284 #define KUidPictureTypeDoor KUidPictureTypeDoor8
285 #define KUidAppIdentifierStream KUidAppIdentifierStream8
286 #define KUidSecurityStream KUidSecurityStream8
289 const TUid KUidFileEmbeddedApplicationInterfaceUid={0x101f8c96};