commonuisupport/uilaf/inc/uikon.hrh
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     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 "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 //
       
    15 
       
    16 #if !defined(__UIKON_HRH__)
       
    17 #define __UIKON_HRH__
       
    18 
       
    19 #include <uiklaf/private/pluginuid.hrh>
       
    20 
       
    21 /** UID for dynamically-loaded Uikon library.
       
    22 @publishedAll 
       
    23 @released 
       
    24 */
       
    25 #define KUidUikonLibraryValue			0x10004CC1
       
    26 
       
    27 
       
    28 /** Application resource file standard offsets.
       
    29 @publishedAll 
       
    30 @released 
       
    31 */
       
    32 enum TEikAppResourceFileStandardOffset
       
    33 	{
       
    34 	/** Offset of RSS_SIGNATURE resource.
       
    35 	*/
       
    36 	ESignatureResourceOffset=1,
       
    37 	/** Offset of NAME resource.
       
    38 	*/
       
    39 	EDefaultNameResourceOffset,
       
    40 	/** Offset of EIK_APP_INFO resource.
       
    41 	*/
       
    42 	EAppInfoResourceOffset
       
    43 	};
       
    44 
       
    45 
       
    46 /** Default RSS_SIGNATURE signature field value.
       
    47 @publishedAll 
       
    48 @released 
       
    49 */
       
    50 #define EEikResourceSignatureValue		4
       
    51 
       
    52 
       
    53 /** ID of "Cancel" command button.
       
    54 @publishedAll 
       
    55 @released 
       
    56 */
       
    57 #define EEikBidCancel				-1
       
    58 
       
    59 // standard commands
       
    60 
       
    61 /** "Canceled" command ID
       
    62 @publishedAll 
       
    63 @released 
       
    64 */
       
    65 #define EEikCmdCanceled				0
       
    66 
       
    67 /** "Exit" command ID.
       
    68 @publishedAll 
       
    69 @released 
       
    70 */
       
    71 #define EEikCmdExit				0x100
       
    72 
       
    73 
       
    74 // EIKSPANE.HRH
       
    75 //
       
    76 
       
    77 //
       
    78 
       
    79 // Status pane server, pane declaration flags
       
    80 
       
    81 /** STATUS_PANE flags resource flag: the pane is owned by the UI server.
       
    82 @publishedAll 
       
    83 @released 
       
    84 */
       
    85 #define EEikStatusPaneServerOwned		0
       
    86 
       
    87 /** STATUS_PANE flags resource flag: the pane is owned by the client application.
       
    88 @publishedAll 
       
    89 @released 
       
    90 */
       
    91 #define EEikStatusPaneAppOwned			1
       
    92 
       
    93 
       
    94 // Status pane server, top level layout flags
       
    95 
       
    96 /** STATUS_PANE_LAYOUT position resource flag: lay out panes from the top of the status pane area.
       
    97 @publishedAll 
       
    98 @released 
       
    99 */
       
   100 #define EEikStatusPanePositionTop		0
       
   101 
       
   102 /** STATUS_PANE flags resource flag: lay out panes from the bottom of the status pane area.
       
   103 @publishedAll 
       
   104 @released 
       
   105 */
       
   106 #define EEikStatusPanePositionBottom	1
       
   107 
       
   108 /** STATUS_PANE flags resource flag: lay out panes from the left of the status pane area.
       
   109 @publishedAll 
       
   110 @released 
       
   111 */
       
   112 #define EEikStatusPanePositionLeft		2
       
   113 
       
   114 /** STATUS_PANE flags resource flag: lay out panes from the right of the status pane area.
       
   115 @publishedAll 
       
   116 @released 
       
   117 */
       
   118 #define EEikStatusPanePositionRight		3
       
   119 
       
   120 
       
   121 /** STATUS_PANE_LAYOUT position resource flag: lay out panes horizontally.
       
   122 @publishedAll 
       
   123 @released 
       
   124 */
       
   125 #define EEikStatusPaneLayoutHorizontal	0
       
   126 
       
   127 /** STATUS_PANE_LAYOUT position resource flag: lay out panes vertically.
       
   128 @publishedAll 
       
   129 @released 
       
   130 */
       
   131 #define EEikStatusPaneLayoutVertical	4
       
   132 
       
   133 
       
   134 // Status pane server, pane layout flags
       
   135 /** STATUS_PANE flags resource flag: status pane is stretched to fill the available space.
       
   136 @publishedAll 
       
   137 @released 
       
   138 */
       
   139 #define EEikStatusPaneIsStretchable		1
       
   140 
       
   141 
       
   142 // Status pane app constants
       
   143 /** STATUS_PANE_APP_MODEL layout default value: use default layout.
       
   144 @publishedAll 
       
   145 @released 
       
   146 */
       
   147 #define EEikStatusPaneUseDefaults		0
       
   148 
       
   149 // error resolver
       
   150 /** SINGLE_ERROR flags resource flag: this error should be dealt with at the system level and indicates and unrecoverable error (which will result in a panic) if it reaches the UI.
       
   151 @publishedAll 
       
   152 @released 
       
   153 */
       
   154 #define EErrorResPanicErrorFlag			0x00000001
       
   155 
       
   156 /** SINGLE_ERROR flags resource flag: this error should not be displayed.
       
   157 @publishedAll 
       
   158 @released 
       
   159 */
       
   160 #define EErrorResBlankErrorFlag			0x00000002
       
   161 
       
   162 /** SINGLE_ERROR flags resource flag: this error is used for filling in empty slots in error ranges.
       
   163 @publishedAll 
       
   164 @released 
       
   165 */
       
   166 #define EErrorResUnknownErrorFlag		0x00000004 // used for filling in empty slots in error ranges
       
   167 
       
   168 #define EErrorResOOMErrorFlag		0x00000008 
       
   169 
       
   170 // EIKDEF.HRH
       
   171 
       
   172 //
       
   173 
       
   174 
       
   175 #ifdef LANGUAGE_10
       
   176 #if !defined LANGUAGE_US
       
   177 #define LANGUAGE_US
       
   178 #endif
       
   179 #endif
       
   180 
       
   181 /** Shell application bitmap file.
       
   182 @publishedAll 
       
   183 @released 
       
   184 */
       
   185 #define KAppBitmapFile					42
       
   186 
       
   187 /** CP1252 ellipsis character value.
       
   188 @publishedAll 
       
   189 @released 
       
   190 */
       
   191 #define KEllipsis						0x2026  // cp1252=133
       
   192 
       
   193 /** CP1252 left single quote character value.
       
   194 @publishedAll 
       
   195 @released 
       
   196 */
       
   197 #define KLeftSingleQuote				0x2018  // cp1252=145
       
   198 
       
   199 /** CP1252 right single quote character value.
       
   200 @publishedAll 
       
   201 @released 
       
   202 */
       
   203 #define KRightSingleQuote				0x2019  // cp1252=146
       
   204 
       
   205 /** CP1252 left double quote character value.
       
   206 @publishedAll 
       
   207 @released 
       
   208 */
       
   209 #define KLeftDoubleQuote				0x201c  // cp1252=147
       
   210 
       
   211 /** CP1252 right double quote character value.
       
   212 @publishedAll 
       
   213 @released 
       
   214 */
       
   215 #define KRightDoubleQuote				0x201d  // cp1252=148
       
   216 
       
   217 /** CP1252 copyright character value.
       
   218 @publishedAll 
       
   219 @released 
       
   220 */
       
   221 #define KCopyright						169
       
   222 
       
   223 /** CP1252 soft hyphen character value.
       
   224 @publishedAll 
       
   225 @released 
       
   226 */
       
   227 #define KSoftHyphen						0x00AD
       
   228 
       
   229 /** CP1252 hyphen character value.
       
   230 @publishedAll 
       
   231 @released 
       
   232 */
       
   233 #define KHyphen							0x2010
       
   234 
       
   235 #endif