diff -r 000000000000 -r 2e3d3ce01487 appfw/viewserver/inc/vwspatchdata.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/appfw/viewserver/inc/vwspatchdata.h Tue Feb 02 10:12:00 2010 +0200 @@ -0,0 +1,62 @@ +// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef __VWSPATCHDATA_H__ +#define __VWSPATCHDATA_H__ + +#include + +/** + * Rom Patchable constant. + * If KVwsBoostAppPriorityBeforePanic is '1', then ViewSrv : Panic 11 is not issued during device boot-up. + * And also boosts the priority of an application to EPriorityForeground if it is less than EPriorityForeground + * and gives an additional timeout of 4 secs by default(this timeout value can be changed at ROM build time through patchable + * constant KTimeoutValueForPreemptedProcess) to complete the view activation. If the application's priority is + * EPriorityForeground then we panic the client immediately. + + * The default value of KVwsBoostAppPriorityBeforePanic is 0, which implies that normal view server panic + * behavior would be in effect. + * The constant can be changed at ROM build time using patchdata keyword in IBY file. + * To patch the value, add a line to an iby file that is included in the ROM + * being built using the following format: + * "patchdata @ " + * + * @SYMPatchable + * @publishedPartner + * @released + * @see KTimeoutValueForPreemptedProcess + * + */ + +IMPORT_C extern const TInt KVwsBoostAppPriorityBeforePanic; + +/** + * Rom Patchable constant. + * This constant states the additional timeout value for an application after boosting the priority of + * the application. This is 4 seconds by default. + * The constant can be changed at ROM build time using patchdata keyword in IBY file. + * To patch the value, add a line to an iby file that is included in the ROM + * being built using the following format: + * "patchdata @ " + * Example: patchdata viewsrv.dll @ KTimeoutValueForPreemptedProcess 1 + * + * @SYMPatchable + * @publishedPartner + * @released + * + */ +IMPORT_C extern const TInt KTimeoutValueForPreemptedProcess; + +#endif \ No newline at end of file