epoc32/include/mw/eikdef.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     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 "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     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.symbianfoundation.org/legal/licencesv10.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:
    16 #ifndef __EIKDEF_H__
    16 #ifndef __EIKDEF_H__
    17 #define __EIKDEF_H__
    17 #define __EIKDEF_H__
    18 
    18 
    19 #include <e32std.h>
    19 #include <e32std.h>
    20 #include <coedef.h>
    20 #include <coedef.h>
       
    21 
       
    22 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
       
    23 #include <uikon/eikdefconst.h>
       
    24 #include <uikon/eikdefmacros.h>
       
    25 #include <uikon/eikdefconstinternal.h>
       
    26 #endif
    21 
    27 
    22 /** This is used in combination with a specified position to place a popout on 
    28 /** This is used in combination with a specified position to place a popout on 
    23 the display. 
    29 the display. 
    24 
    30 
    25 The TPopupTargetPosType enum identifies which corner of the popout 
    31 The TPopupTargetPosType enum identifies which corner of the popout 
    59 
    65 
    60 @publishedAll
    66 @publishedAll
    61 @released
    67 @released
    62 */
    68 */
    63 #define iEikonEnv (STATIC_CAST(CEikonEnv*,iCoeEnv))
    69 #define iEikonEnv (STATIC_CAST(CEikonEnv*,iCoeEnv))
    64 
       
    65 /** Defines the border style for an editable control.
       
    66 
       
    67 @publishedPartner
       
    68 @released
       
    69 */
       
    70 #define KEikEditableControlBorder TGulBorder::EShallowSunken
       
    71 
       
    72 /** Name of the default bitmap store.
       
    73 
       
    74 @publishedPartner
       
    75 @released
       
    76 */
       
    77 _LIT(KEikDefaultAppBitmapStore,"*");
       
    78 
       
    79 /** Uid of the KEikMessageColorSchemeChange message.
       
    80 
       
    81 @publishedPartner
       
    82 @released
       
    83 */
       
    84 const TInt KUidValueEikColorSchemeChangeEvent	=0x10006956;
       
    85 
       
    86 /**
       
    87 @internalComponent
       
    88 */
       
    89 const TInt KEikCustomColorsArrayValue			=0x100057C2;
       
    90 
    70 
    91 /** Indicates that all windows should appear faded.
    71 /** Indicates that all windows should appear faded.
    92 
    72 
    93 @publishedAll
    73 @publishedAll
    94 @released
    74 @released
   194 @released
   174 @released
   195 */
   175 */
   196 _LIT8(KDebugStart, "-DebugMemFail:");
   176 _LIT8(KDebugStart, "-DebugMemFail:");
   197 
   177 
   198 /**
   178 /**
   199 @publishedPartner 
   179 WARNING: constant for internal use ONLY.  Compatibility is not guaranteed in future releases.
   200 @released
       
   201 */
   180 */
   202 const TInt KEikDefaultCursorWidth=2;
   181 const TInt KEikCustomColorsArrayValue			=0x100057C2;
   203 
       
   204 /**
       
   205 @publishedPartner 
       
   206 @released
       
   207 */
       
   208 const TInt KTimeBetweenClicks=1000000;	 // in Microseconds	
       
   209 
       
   210 /**
       
   211 @publishedPartner 
       
   212 @released
       
   213 */		 
       
   214 const TInt KDoubleClickDistance=10;
       
   215 
       
   216 /**
       
   217 @publishedPartner 
       
   218 @released
       
   219 */	
       
   220 const TInt KKeyboardRepeatRate=50000;
       
   221 
       
   222 /**
       
   223 @publishedPartner 
       
   224 @released
       
   225 */	
       
   226 const TInt KKeyboardRepeatInitialDelay=800000;
       
   227 
       
   228 /** Resource id of the query dialog.
       
   229 @publishedPartner
       
   230 @released
       
   231 */
       
   232 const TInt KEikResIdQueryDialog	=0;
       
   233 
       
   234 /** Resource id of the info dialog.
       
   235 @publishedPartner
       
   236 @released
       
   237 */
       
   238 const TInt KEikResIdInfoDialog	=1;
       
   239 
       
   240 /**
       
   241 @publishedPartner 
       
   242 @released
       
   243 */	
       
   244 const TInt KEikErrorResolverMaxTextLength = 256;
       
   245 
       
   246 /**
       
   247 @internalTechnology
       
   248 */
       
   249 #define COMPARE_BOOLS(a,b) (((a) && (b)) || (!(a) && !(b)))
       
   250 
       
   251 /**
       
   252 @internalComponent
       
   253 */
       
   254 #if defined(_DEBUG)
       
   255 #define __UHEAP_CHECK_INTEGRITY User::Heap().Check()
       
   256 #else
       
   257 #define __UHEAP_CHECK_INTEGRITY
       
   258 #endif
       
   259 
       
   260 /**
       
   261 @internalComponent
       
   262 */
       
   263 #define PROFILE_POINT_EIKON_FIRST		32
       
   264 
       
   265 /**
       
   266 @internalComponent
       
   267 */
       
   268 #define PROFILE_POINT_EIKON_LAST		39
       
   269 
       
   270 /**
       
   271 @internalComponent
       
   272 */
       
   273 #define PROFILE_POINT_EIKON_SIMPLE		32
       
   274 
       
   275 /**
       
   276 @internalComponent
       
   277 */
       
   278 #define PROFILE_POINT_EIKON_DIALOG_LOAD	33
       
   279 
       
   280 /**
       
   281 @internalComponent
       
   282 */
       
   283 #define PROFILE_POINT_EIKON_APP_LAUNCH	34
       
   284 
       
   285 /**
       
   286 @internalComponent
       
   287 */
       
   288 #define PROFILE_POINT_EIKON_CLOCK		35
       
   289 
       
   290 /**
       
   291 @internalComponent
       
   292 */
       
   293 #define PROFILE_POINT_EIKON_CALENDER	35
       
   294 
       
   295 /**
       
   296 @internalComponent
       
   297 */
       
   298 #define PROFILE_POINT_EIKON_LIBS_LOAD	36
       
   299 
       
   300 /**
       
   301 @internalComponent
       
   302 */
       
   303 #define PROFILE_POINT_EIKON_ADD_RES		37
       
   304 
       
   305 /**
       
   306 @internalComponent
       
   307 */
       
   308 #define KEikEikonBitmapStore		KNullDesC
       
   309 
       
   310 /**
       
   311 @internalComponent
       
   312 */
       
   313 const TUid KSystemIniFileUid = {0x1000010C};
       
   314 
       
   315 /**
       
   316 @internalComponent
       
   317 */	
       
   318 const TInt KLastSystemWideErrCode = KErrCommsBreak;
       
   319 
   182 
   320 
   183 
   321 #endif	// __EIKDEF_H__
   184 #endif	// __EIKDEF_H__