|
1 // Copyright (c) 2008-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 #ifndef __VWSPATCHDATA_H__ |
|
17 #define __VWSPATCHDATA_H__ |
|
18 |
|
19 #include <e32base.h> |
|
20 |
|
21 /** |
|
22 * Rom Patchable constant. |
|
23 * If KVwsBoostAppPriorityBeforePanic is '1', then ViewSrv : Panic 11 is not issued during device boot-up. |
|
24 * And also boosts the priority of an application to EPriorityForeground if it is less than EPriorityForeground |
|
25 * and gives an additional timeout of 4 secs by default(this timeout value can be changed at ROM build time through patchable |
|
26 * constant KTimeoutValueForPreemptedProcess) to complete the view activation. If the application's priority is |
|
27 * EPriorityForeground then we panic the client immediately. |
|
28 |
|
29 * The default value of KVwsBoostAppPriorityBeforePanic is 0, which implies that normal view server panic |
|
30 * behavior would be in effect. |
|
31 * The constant can be changed at ROM build time using patchdata keyword in IBY file. |
|
32 * To patch the value, add a line to an iby file that is included in the ROM |
|
33 * being built using the following format: |
|
34 * "patchdata <dll> @ <symbol> <newvalue>" |
|
35 * |
|
36 * @SYMPatchable |
|
37 * @publishedPartner |
|
38 * @released |
|
39 * @see KTimeoutValueForPreemptedProcess |
|
40 * |
|
41 */ |
|
42 |
|
43 IMPORT_C extern const TInt KVwsBoostAppPriorityBeforePanic; |
|
44 |
|
45 /** |
|
46 * Rom Patchable constant. |
|
47 * This constant states the additional timeout value for an application after boosting the priority of |
|
48 * the application. This is 4 seconds by default. |
|
49 * The constant can be changed at ROM build time using patchdata keyword in IBY file. |
|
50 * To patch the value, add a line to an iby file that is included in the ROM |
|
51 * being built using the following format: |
|
52 * "patchdata <dll> @ <symbol> <newvalue>" |
|
53 * Example: patchdata viewsrv.dll @ KTimeoutValueForPreemptedProcess 1 |
|
54 * |
|
55 * @SYMPatchable |
|
56 * @publishedPartner |
|
57 * @released |
|
58 * |
|
59 */ |
|
60 IMPORT_C extern const TInt KTimeoutValueForPreemptedProcess; |
|
61 |
|
62 #endif |