epoc32/include/apadef.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/apadef.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,291 +0,0 @@
     1.4 -// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// 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
     1.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -#ifndef __APADEF_H__
    1.20 -#define __APADEF_H__
    1.21 -
    1.22 -#if !defined(__E32BASE_H__)
    1.23 -#include <e32base.h>
    1.24 -#endif
    1.25 -
    1.26 -// comand line tokens
    1.27 -
    1.28 -/**
    1.29 -@internalComponent
    1.30 -*/
    1.31 -const TUint KApaCommandLetterOpen='O';
    1.32 -
    1.33 -/**
    1.34 -@internalComponent
    1.35 -*/
    1.36 -const TUint KApaCommandLetterCreate='C';
    1.37 -
    1.38 -/**
    1.39 -@internalComponent
    1.40 -*/
    1.41 -const TUint KApaCommandLetterRun='R';
    1.42 -
    1.43 -/**
    1.44 -@internalComponent
    1.45 -*/
    1.46 -const TUint KApaCommandLetterBackground='B';
    1.47 -
    1.48 -/**
    1.49 -@internalComponent
    1.50 -*/
    1.51 -const TUint KApaCommandLetterViewActivate='V';
    1.52 -
    1.53 -/**
    1.54 -@internalComponent
    1.55 -*/
    1.56 -const TUint KApaCommandLetterRunWithoutViews='W';
    1.57 -
    1.58 -/**
    1.59 -@internalComponent
    1.60 -*/
    1.61 -const TUint KApaCommandLetterBackgroundAndWithoutViews='A';
    1.62 -
    1.63 -/** Defines the command codes used to indicate the way an application is to be 
    1.64 -launched.
    1.65 -
    1.66 -@publishedAll 
    1.67 -@released
    1.68 -@see CApaCommandLine */
    1.69 -enum TApaCommand
    1.70 -	{
    1.71 -	/** The application is to open the document specified on the command line. */
    1.72 -	EApaCommandOpen,
    1.73 -	/** The application is to create the document specified on the command line. */
    1.74 -	EApaCommandCreate,
    1.75 -	/** The application is to run and open the last used document. */
    1.76 -	EApaCommandRun,
    1.77 -	/** The application is to open the last used document and to run in the background. */
    1.78 -	EApaCommandBackground,
    1.79 -	/** Reserved for future use. */
    1.80 -	EApaCommandViewActivate,
    1.81 -	/** The application is to run without views.
    1.82 -	
    1.83 -	This should NOT be used for view based applications. */
    1.84 -	EApaCommandRunWithoutViews,
    1.85 -	/** The application is to run in the background and viewless mode */
    1.86 -	EApaCommandBackgroundAndWithoutViews
    1.87 -	};
    1.88 -
    1.89 -/**
    1.90 -@publishedAll 
    1.91 -@released
    1.92 -*/
    1.93 -const TInt KApaMaxAppCaption=0x100;	// Default name is a file name, so the same limit is used
    1.94 -
    1.95 -// TApaAppCaption is the current language name of the app (for task lists, dialogs etc)
    1.96 -
    1.97 -/** Defines a modifiable buffer descriptor to contain the caption or the short caption 
    1.98 -for an application. 
    1.99 -
   1.100 -@publishedAll 
   1.101 -@released */
   1.102 -typedef TBuf<KApaMaxAppCaption> TApaAppCaption; 
   1.103 -
   1.104 -/**
   1.105 -@internalComponent
   1.106 -*/
   1.107 -const TInt KApaMaxCommandLine=0x100;	
   1.108 -
   1.109 -/**
   1.110 -@internalComponent
   1.111 -*/
   1.112 -typedef TBuf<KApaMaxCommandLine> TApaCommandLine;
   1.113 -
   1.114 -/**
   1.115 -@internalComponent
   1.116 -*/
   1.117 -const TInt KApaMaxAppFileName=0x10;	// Length of App's filename without path or extension (not it's caption)
   1.118 -
   1.119 -/**
   1.120 -@internalComponent
   1.121 -*/
   1.122 -typedef TBuf<KApaMaxAppFileName> TApaAppFileName;
   1.123 -
   1.124 -/** Maximum length of an application group name.
   1.125 -
   1.126 -@publishedAll 
   1.127 -@released
   1.128 -@see TApaAppGroupName */
   1.129 -const TInt KApaMaxAppGroupName=0x10; // Length of App's logical groupname
   1.130 -
   1.131 -/** An application group name.
   1.132 -
   1.133 -This is a name that allows applications to be categorized, for instance "Games" 
   1.134 -or "Utilities". 
   1.135 -
   1.136 -@publishedAll 
   1.137 -@released */
   1.138 -typedef TBuf<KApaMaxAppGroupName> TApaAppGroupName;
   1.139 -
   1.140 -/** The hexadecimal value of the 2nd UID that identifies a DLL as being an ASCII UI 
   1.141 -application. In .mmp files, the hexadecimal number is explicitly inserted 
   1.142 -as the first value following the UID keyword. 
   1.143 -
   1.144 -@publishedAll 
   1.145 -@deprecated */
   1.146 -const TInt KAppUidValue8 = 0x1000006c;
   1.147 -
   1.148 -/** The 2nd UID that identifies a DLL as being an ASCII UI application. 
   1.149 -
   1.150 -@publishedAll 
   1.151 -@deprecated */
   1.152 -const TUid KUidApp8={KAppUidValue8};
   1.153 -
   1.154 -/** The hexadecimal value of the 2nd UID that defines a DLL as being a Unicode 
   1.155 -UI application. In .mmp files, the hexadecimal number is explicitly inserted 
   1.156 -as the first value following the UID keyword.
   1.157 -
   1.158 -@publishedAll 
   1.159 -@released
   1.160 -@see KAppUidValue */
   1.161 -const TInt KAppUidValue16 = 0x100039CE;
   1.162 -
   1.163 -/** The 2nd UID that defines a DLL as being a Unicode UI application.
   1.164 -
   1.165 -@publishedAll 
   1.166 -@released
   1.167 -@see KUidApp */
   1.168 -const TUid KUidApp16={KAppUidValue16};
   1.169 -
   1.170 -//
   1.171 -// 2nd Uid for app doc files
   1.172 -/**
   1.173 -@publishedAll 
   1.174 -@deprecated
   1.175 -*/
   1.176 -const TUid KUidAppDllDoc8={268435565}; 
   1.177 -
   1.178 -/**
   1.179 -@publishedAll 
   1.180 -@released
   1.181 -*/
   1.182 -const TUid KUidAppDllDoc16={0x10003A12};
   1.183 -
   1.184 -/** The UID encoded in a TPictureHeader that identifies a picture as a door (for 
   1.185 -ASCII builds). 
   1.186 -
   1.187 -@publishedAll 
   1.188 -@deprecated
   1.189 -*/
   1.190 -const TUid KUidPictureTypeDoor8={268435537};
   1.191 -
   1.192 -/** The UID encoded in a TPictureHeader that identifies a picture as a door (for 
   1.193 -Unicode builds).
   1.194 -
   1.195 -@publishedAll 
   1.196 -@released
   1.197 -@see KUidPictureTypeDoor */
   1.198 -const TUid KUidPictureTypeDoor16={0x10003A33};
   1.199 -
   1.200 -//
   1.201 -// Uid's for streams in stream dictionaries
   1.202 -/**
   1.203 -@publishedAll 
   1.204 -@deprecated
   1.205 -*/
   1.206 -const TUid KUidSecurityStream8={268435661};
   1.207 -
   1.208 -/**
   1.209 -@publishedAll 
   1.210 -@released
   1.211 -*/
   1.212 -const TUid KUidSecurityStream16={0x10003A40};
   1.213 -
   1.214 -/**
   1.215 -@publishedAll 
   1.216 -@deprecated
   1.217 -*/
   1.218 -const TUid KUidAppIdentifierStream8={268435593}; // stream containing a TApaAppIdentifier
   1.219 -
   1.220 -/**
   1.221 -@publishedAll 
   1.222 -@released
   1.223 -*/
   1.224 -const TUid KUidAppIdentifierStream16={0x10003A34};
   1.225 -
   1.226 -#ifdef _UNICODE
   1.227 -/** The type-independent 2nd UID that identifies a DLL as being a UI application.
   1.228 -
   1.229 -@publishedAll 
   1.230 -@released
   1.231 -@see KUidApp16
   1.232 -@see KUidApp8 */
   1.233 -#define KUidApp KUidApp16
   1.234 -/** The type-independent hexadecimal value of the 2nd UID that identifies a DLL as 
   1.235 -being a UI application.
   1.236 -
   1.237 -@publishedAll 
   1.238 -@released
   1.239 -@see KAppUidValue16
   1.240 -@see KAppUidValue8 */
   1.241 -#define KAppUidValue KAppUidValue16 //lint !e1923 supress could become const variable
   1.242 -/**
   1.243 -@publishedAll 
   1.244 -@released
   1.245 -*/
   1.246 -#define KUidAppDllDoc KUidAppDllDoc16
   1.247 -/** The type independent UID encoded in a TPictureHeader that identifies a picture 
   1.248 -as a door.
   1.249 -
   1.250 -@publishedAll 
   1.251 -@released
   1.252 -@see KUidPictureTypeDoor16
   1.253 -@see KUidPictureTypeDoor8
   1.254 -@see TPictureHeader
   1.255 -@see TApaModelDoorFactory::NewPictureL() */
   1.256 -#define KUidPictureTypeDoor KUidPictureTypeDoor16
   1.257 -/**
   1.258 -@publishedAll 
   1.259 -@released
   1.260 -*/
   1.261 -#define KUidAppIdentifierStream KUidAppIdentifierStream16
   1.262 -/**
   1.263 -@publishedAll 
   1.264 -@released
   1.265 -*/
   1.266 -#define KUidSecurityStream KUidSecurityStream16
   1.267 -#else
   1.268 -/** The type independent 2nd UID that defines a DLL as being a UI application.
   1.269 -
   1.270 -@see KUidApp16
   1.271 -@see KUidApp8 */
   1.272 -#define KUidApp KUidApp8
   1.273 -/** The type independent hexadecimal value of the 2nd UID that defines a DLL as 
   1.274 -being a UI application.
   1.275 -
   1.276 -@see KAppUidValue16
   1.277 -@see KAppUidValue8 */
   1.278 -#define KAppUidValue KAppUidValue8
   1.279 -#define KUidAppDllDoc KUidAppDllDoc8
   1.280 -/** The type independent UID encoded in a TPictureHeader that identifies a picture 
   1.281 -as a door.
   1.282 -
   1.283 -@see KUidPictureTypeDoor16
   1.284 -@see KUidPictureTypeDoor8
   1.285 -@see TPictureHeader
   1.286 -@see TApaModelDoorFactory::NewPictureL() */
   1.287 -#define KUidPictureTypeDoor KUidPictureTypeDoor8
   1.288 -#define KUidAppIdentifierStream KUidAppIdentifierStream8
   1.289 -#define KUidSecurityStream KUidSecurityStream8
   1.290 -#endif
   1.291 -
   1.292 -const TUid KUidFileEmbeddedApplicationInterfaceUid={0x101f8c96};
   1.293 -
   1.294 -#endif