localisation/apparchitecture/inc/APADEF.H
branchSymbian3
changeset 57 b8d18c84f71c
parent 6 c108117318cb
equal deleted inserted replaced
56:aa99f2208aad 57:b8d18c84f71c
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-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.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
       
    14 // apadef.h
    14 //
    15 //
    15 
    16 
    16 #ifndef __APADEF_H__
    17 #ifndef __APADEF_H__
    17 #define __APADEF_H__
    18 #define __APADEF_H__
    18 
    19 
    19 #if !defined(__E32BASE_H__)
       
    20 #include <e32base.h>
    20 #include <e32base.h>
    21 #endif
       
    22 
       
    23 // comand line tokens
       
    24 
       
    25 /**
       
    26 @internalComponent
       
    27 */
       
    28 const TUint KApaCommandLetterOpen='O';
       
    29 
       
    30 /**
       
    31 @internalComponent
       
    32 */
       
    33 const TUint KApaCommandLetterCreate='C';
       
    34 
       
    35 /**
       
    36 @internalComponent
       
    37 */
       
    38 const TUint KApaCommandLetterRun='R';
       
    39 
       
    40 /**
       
    41 @internalComponent
       
    42 */
       
    43 const TUint KApaCommandLetterBackground='B';
       
    44 
       
    45 /**
       
    46 @internalComponent
       
    47 */
       
    48 const TUint KApaCommandLetterViewActivate='V';
       
    49 
       
    50 /**
       
    51 @internalComponent
       
    52 */
       
    53 const TUint KApaCommandLetterRunWithoutViews='W';
       
    54 
       
    55 /**
       
    56 @internalComponent
       
    57 */
       
    58 const TUint KApaCommandLetterBackgroundAndWithoutViews='A';
       
    59 
    21 
    60 /** Defines the command codes used to indicate the way an application is to be 
    22 /** Defines the command codes used to indicate the way an application is to be 
    61 launched.
    23 launched.
    62 
    24 
    63 @publishedAll 
    25 @publishedAll 
    96 
    58 
    97 @publishedAll 
    59 @publishedAll 
    98 @released */
    60 @released */
    99 typedef TBuf<KApaMaxAppCaption> TApaAppCaption; 
    61 typedef TBuf<KApaMaxAppCaption> TApaAppCaption; 
   100 
    62 
       
    63 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
   101 /**
    64 /**
   102 @internalComponent
    65 @internalComponent
   103 */
    66 */
   104 const TInt KApaMaxCommandLine=0x100;	
    67 const TInt KApaMaxCommandLine=0x100;	
   105 
    68 
   106 /**
    69 /**
   107 @internalComponent
    70 @internalComponent
   108 */
    71 */
   109 typedef TBuf<KApaMaxCommandLine> TApaCommandLine;
    72 typedef TBuf<KApaMaxCommandLine> TApaCommandLine;
   110 
    73 
   111 /**
    74 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS
   112 @internalComponent
       
   113 */
       
   114 const TInt KApaMaxAppFileName=0x10;	// Length of App's filename without path or extension (not it's caption)
       
   115 
       
   116 /**
       
   117 @internalComponent
       
   118 */
       
   119 typedef TBuf<KApaMaxAppFileName> TApaAppFileName;
       
   120 
    75 
   121 /** Maximum length of an application group name.
    76 /** Maximum length of an application group name.
   122 
    77 
   123 @publishedAll 
    78 @publishedAll 
   124 @released
    79 @released
   131 or "Utilities". 
    86 or "Utilities". 
   132 
    87 
   133 @publishedAll 
    88 @publishedAll 
   134 @released */
    89 @released */
   135 typedef TBuf<KApaMaxAppGroupName> TApaAppGroupName;
    90 typedef TBuf<KApaMaxAppGroupName> TApaAppGroupName;
   136 
       
   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. 
       
   140 
       
   141 @publishedAll 
       
   142 @deprecated */
       
   143 const TInt KAppUidValue8 = 0x1000006c;
       
   144 
       
   145 /** The 2nd UID that identifies a DLL as being an ASCII UI application. 
       
   146 
       
   147 @publishedAll 
       
   148 @deprecated */
       
   149 const TUid KUidApp8={KAppUidValue8};
       
   150 
    91 
   151 /** The hexadecimal value of the 2nd UID that defines a DLL as being a Unicode 
    92 /** 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 
    93 UI application. In .mmp files, the hexadecimal number is explicitly inserted 
   153 as the first value following the UID keyword.
    94 as the first value following the UID keyword.
   154 
    95 
   166 
   107 
   167 //
   108 //
   168 // 2nd Uid for app doc files
   109 // 2nd Uid for app doc files
   169 /**
   110 /**
   170 @publishedAll 
   111 @publishedAll 
   171 @deprecated
       
   172 */
       
   173 const TUid KUidAppDllDoc8={268435565}; 
       
   174 
       
   175 /**
       
   176 @publishedAll 
       
   177 @released
   112 @released
   178 */
   113 */
   179 const TUid KUidAppDllDoc16={0x10003A12};
   114 const TUid KUidAppDllDoc16={0x10003A12};
   180 
       
   181 /** The UID encoded in a TPictureHeader that identifies a picture as a door (for 
       
   182 ASCII builds). 
       
   183 
       
   184 @publishedAll 
       
   185 @deprecated
       
   186 */
       
   187 const TUid KUidPictureTypeDoor8={268435537};
       
   188 
   115 
   189 /** The UID encoded in a TPictureHeader that identifies a picture as a door (for 
   116 /** The UID encoded in a TPictureHeader that identifies a picture as a door (for 
   190 Unicode builds).
   117 Unicode builds).
   191 
   118 
   192 @publishedAll 
   119 @publishedAll 
   194 @see KUidPictureTypeDoor */
   121 @see KUidPictureTypeDoor */
   195 const TUid KUidPictureTypeDoor16={0x10003A33};
   122 const TUid KUidPictureTypeDoor16={0x10003A33};
   196 
   123 
   197 //
   124 //
   198 // Uid's for streams in stream dictionaries
   125 // Uid's for streams in stream dictionaries
   199 /**
       
   200 @publishedAll 
       
   201 @deprecated
       
   202 */
       
   203 const TUid KUidSecurityStream8={268435661};
       
   204 
   126 
   205 /**
   127 /**
   206 @publishedAll 
   128 @publishedAll 
   207 @released
   129 @released
   208 */
   130 */
   209 const TUid KUidSecurityStream16={0x10003A40};
   131 const TUid KUidSecurityStream16={0x10003A40};
   210 
   132 
   211 /**
   133 /**
   212 @publishedAll 
   134 @publishedAll 
   213 @deprecated
   135 @released
   214 */
   136 */
   215 const TUid KUidAppIdentifierStream8={268435593}; // stream containing a TApaAppIdentifier
   137 const TUid KUidAppIdentifierStream16={0x10003A34};
       
   138 
       
   139 /** The type-independent 2nd UID that identifies a DLL as being a UI application.
       
   140 
       
   141 @publishedAll 
       
   142 @released
       
   143 @see KUidApp16 */
       
   144 #define KUidApp KUidApp16
       
   145 
       
   146 /** The type-independent hexadecimal value of the 2nd UID that identifies a DLL as 
       
   147 being a UI application.
       
   148 
       
   149 @publishedAll 
       
   150 @released
       
   151 @see KAppUidValue16 */
       
   152 #define KAppUidValue KAppUidValue16 //lint !e1923 supress could become const variable
   216 
   153 
   217 /**
   154 /**
   218 @publishedAll 
   155 @publishedAll 
   219 @released
   156 @released
   220 */
   157 */
   221 const TUid KUidAppIdentifierStream16={0x10003A34};
   158 #define KUidAppDllDoc KUidAppDllDoc16
   222 
   159 
   223 #ifdef _UNICODE
       
   224 /** The type-independent 2nd UID that identifies a DLL as being a UI application.
       
   225 
       
   226 @publishedAll 
       
   227 @released
       
   228 @see KUidApp16
       
   229 @see KUidApp8 */
       
   230 #define KUidApp KUidApp16
       
   231 /** The type-independent hexadecimal value of the 2nd UID that identifies a DLL as 
       
   232 being a UI application.
       
   233 
       
   234 @publishedAll 
       
   235 @released
       
   236 @see KAppUidValue16
       
   237 @see KAppUidValue8 */
       
   238 #define KAppUidValue KAppUidValue16 //lint !e1923 supress could become const variable
       
   239 /**
       
   240 @publishedAll 
       
   241 @released
       
   242 */
       
   243 #define KUidAppDllDoc KUidAppDllDoc16
       
   244 /** The type independent UID encoded in a TPictureHeader that identifies a picture 
   160 /** The type independent UID encoded in a TPictureHeader that identifies a picture 
   245 as a door.
   161 as a door.
   246 
   162 
   247 @publishedAll 
   163 @publishedAll 
   248 @released
   164 @released
   249 @see KUidPictureTypeDoor16
   165 @see KUidPictureTypeDoor16
   250 @see KUidPictureTypeDoor8
       
   251 @see TPictureHeader
   166 @see TPictureHeader
   252 @see TApaModelDoorFactory::NewPictureL() */
   167 @see TApaModelDoorFactory::NewPictureL() */
   253 #define KUidPictureTypeDoor KUidPictureTypeDoor16
   168 #define KUidPictureTypeDoor KUidPictureTypeDoor16
       
   169 
   254 /**
   170 /**
   255 @publishedAll 
   171 @publishedAll 
   256 @released
   172 @released
   257 */
   173 */
   258 #define KUidAppIdentifierStream KUidAppIdentifierStream16
   174 #define KUidAppIdentifierStream KUidAppIdentifierStream16
       
   175 
   259 /**
   176 /**
   260 @publishedAll 
   177 @publishedAll 
   261 @released
   178 @released
   262 */
   179 */
   263 #define KUidSecurityStream KUidSecurityStream16
   180 #define KUidSecurityStream KUidSecurityStream16
   264 #else
       
   265 /** The type independent 2nd UID that defines a DLL as being a UI application.
       
   266 
   181 
   267 @see KUidApp16
       
   268 @see KUidApp8 */
       
   269 #define KUidApp KUidApp8
       
   270 /** The type independent hexadecimal value of the 2nd UID that defines a DLL as 
       
   271 being a UI application.
       
   272 
       
   273 @see KAppUidValue16
       
   274 @see KAppUidValue8 */
       
   275 #define KAppUidValue KAppUidValue8
       
   276 #define KUidAppDllDoc KUidAppDllDoc8
       
   277 /** The type independent UID encoded in a TPictureHeader that identifies a picture 
       
   278 as a door.
       
   279 
       
   280 @see KUidPictureTypeDoor16
       
   281 @see KUidPictureTypeDoor8
       
   282 @see TPictureHeader
       
   283 @see TApaModelDoorFactory::NewPictureL() */
       
   284 #define KUidPictureTypeDoor KUidPictureTypeDoor8
       
   285 #define KUidAppIdentifierStream KUidAppIdentifierStream8
       
   286 #define KUidSecurityStream KUidSecurityStream8
       
   287 #endif
       
   288 
   182 
   289 const TUid KUidFileEmbeddedApplicationInterfaceUid={0x101f8c96};
   183 const TUid KUidFileEmbeddedApplicationInterfaceUid={0x101f8c96};
   290 
   184 
   291 #endif
   185 #endif	// __APADEF_H__