kernel/eka/include/e32std_private.h
changeset 0 a41df078684a
equal deleted inserted replaced
-1:000000000000 0:a41df078684a
       
     1 // Copyright (c) 1994-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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // e32\include\e32std_private.h
       
    15 // 
       
    16 // WARNING: This file contains some APIs which are internal and are subject
       
    17 //          to change without notice. Such APIs should therefore not be used
       
    18 //          outside the Kernel and Hardware Services package.
       
    19 //
       
    20 
       
    21 /**
       
    22  @file
       
    23  @internalTechnology
       
    24  @released
       
    25 */
       
    26 
       
    27 #ifndef __E32STD_PRIVATE_H__
       
    28 #define __E32STD_PRIVATE_H__
       
    29 
       
    30 #ifdef __KERNEL_MODE__
       
    31 #error !! Including e32std.h in kernel code !!
       
    32 #endif
       
    33 
       
    34 #include <e32cmn.h>
       
    35 #include <e32cmn_private.h>
       
    36 
       
    37 /**
       
    38 @internalComponent
       
    39 */
       
    40 const TUint KLocaleLanguageKey = 0x10208903;
       
    41 
       
    42 /**
       
    43 @internalComponent
       
    44 */
       
    45 const TUint KLocaleDataKey = 0x10208904;
       
    46 
       
    47 /**
       
    48 @internalComponent
       
    49 */
       
    50 const TUint KLocaleDataExtraKey = 0x10208905;
       
    51 
       
    52 /**
       
    53 @internalComponent
       
    54 */
       
    55 const TUint KLocaleTimeDateFormatKey = 0x10208907;
       
    56 
       
    57 /**
       
    58 @internalComponent
       
    59 */
       
    60 const TUint KLocaleDefaultCharSetKey = 0x10208908;
       
    61 
       
    62 /**
       
    63 @internalComponent
       
    64 */
       
    65 const TUint KLocalePreferredCharSetKey = 0x10208909;
       
    66 
       
    67 /**
       
    68 @internalComponent
       
    69 */
       
    70 enum TLocaleFunctions
       
    71 	{
       
    72 	FnDummy,
       
    73 	FnAmPmTable,
       
    74 	FnCharSet,
       
    75 	FnCollTable,
       
    76 	FnCurrencySymbol,
       
    77 	FnDateSuffixTable,
       
    78 	FnDayAbbTable,
       
    79 	FnDayTable,
       
    80 	FnFoldTable,
       
    81 	FnLanguage,
       
    82 	FnLocaleData,
       
    83 	FnLowerTable,
       
    84 	FnMonthAbbTable,
       
    85 	FnMonthTable,
       
    86 	FnMsgTable,
       
    87 	FnTypeTable,
       
    88 	FnUniCode,
       
    89 	FnUpperTable,
       
    90 	FnShortDateFormatSpec,
       
    91 	FnLongDateFormatSpec,
       
    92 	FnTimeFormatSpec,
       
    93 	FnFatUtilityFunctions
       
    94 	};
       
    95 	
       
    96 #ifdef SYMBIAN_DISTINCT_LOCALE_MODEL
       
    97 /**
       
    98 @internalComponent
       
    99 */
       
   100 enum TLanguageLocaleFunctions
       
   101 	{
       
   102 	FnDummy1,
       
   103 	FnMsgTableV2,
       
   104 	FnLanguageDowngradeTableV2,
       
   105 	FnAmPmTableV2,
       
   106 	FnDateSuffixTableV2,
       
   107 	FnMonthAbbTableV2,
       
   108 	FnLanguageV2,
       
   109 	FnFatUtilityFunctionsV2,
       
   110 	FnDigitTypeV2,
       
   111 	FnMonthTableV2,
       
   112 	FnDayTableV2,
       
   113 	FnDayAbbTableV2	
       
   114 	};
       
   115 	
       
   116 /**
       
   117 @internalComponent
       
   118 */
       
   119 enum TRegionLocaleFunctions
       
   120 	{
       
   121 	FnDummy2,
       
   122 	FnShortDateFormatSpecV2,
       
   123 	FnLongDateFormatSpecV2,
       
   124 	FnLocaleDataV2,	
       
   125 	FnTimeFormatSpecV2,
       
   126 	FnCurrencySymbolV2
       
   127 	};
       
   128 #endif
       
   129 
       
   130 /**
       
   131 @internalAll
       
   132 */
       
   133 const TInt KMediaPasswordNotifyUid(0x10004c00);
       
   134 
       
   135 /**
       
   136 @internalAll
       
   137 */
       
   138 enum TMediaPswdNotifyExitMode {EMPEMUnlock, EMPEMCancel, EMPEMUnlockAndStore};
       
   139 
       
   140 
       
   141 /**
       
   142 @internalAll
       
   143 */
       
   144 struct TMediaPswdNotifyBase
       
   145 	{
       
   146 	enum TCardType {ECTMmcPassword} iCT;
       
   147 	TVersion iVersion;
       
   148 	};
       
   149 
       
   150 /**
       
   151 @internalAll
       
   152 */
       
   153 struct TMediaPswdSendNotifyInfoV1 : public TMediaPswdNotifyBase
       
   154 	{
       
   155 	// empty.
       
   156 	};
       
   157 
       
   158 /**
       
   159 @internalAll
       
   160 */
       
   161 struct TMediaPswdSendNotifyInfoV1Debug : public TMediaPswdSendNotifyInfoV1
       
   162 	{
       
   163 	TInt iSleepPeriod;							// us, -ve means maximum range
       
   164 	TMediaPswdNotifyExitMode iEM;
       
   165 	TText8 iPW[KMaxMediaPassword];
       
   166 	};
       
   167 
       
   168 /**
       
   169 @internalAll
       
   170 */
       
   171 struct TMediaPswdReplyNotifyInfoV1 : public TMediaPswdNotifyBase
       
   172 	{
       
   173 	TText8 iPW[KMaxMediaPassword];
       
   174 	TMediaPswdNotifyExitMode iEM;
       
   175 	};
       
   176 
       
   177 
       
   178 #endif
       
   179