|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef IAUPDATEBGCONST_H |
|
21 #define IAUPDATEBGCONST_H |
|
22 |
|
23 |
|
24 //CONST |
|
25 //#define _DEMO |
|
26 |
|
27 #ifdef _DEMO |
|
28 const TInt KDelayForUserToAcceptDisclaimer = 1; //10; //10 minutes |
|
29 const TInt KCheckingUpdateInterval = 4; //Set in Cenrep by default 4 mins |
|
30 const TInt KUpdateAvailableReminderInterval = 1; //60*24*7; //one week in minutes |
|
31 const TInt KFirstTimeDialogDelay = 1; //60*24*2; //two days in minutes |
|
32 const TInt KFirstTimeDialogReminderInterval = 4; //60*24*7*4; //four weeks in minutes |
|
33 const TInt KRefreshTimerReminderTimerGap = 1; // 1min, if the refresh timer is about to expire in 1 mins, then we don't show redminer timer anymore |
|
34 const TInt HalfHourInMinuts = 5;//30; |
|
35 const TInt KFirstSecondRetryInterval = 1; //30mins |
|
36 const TInt KThirdFourthRetryInterval = 2; //one day in minutes |
|
37 #else |
|
38 |
|
39 const TInt KRefreshTimerReminderTimerGap = 60*24; //one day.If the refresh timer is about to expire in one day, then we don't show reminder timer anymore |
|
40 // this is to avoid the soft notifications coming too close to eachother. |
|
41 const TInt KDelayForUserToAcceptDisclaimer = 10; //10 minutes |
|
42 const TInt HalfHourInMinuts = 30; |
|
43 const TInt KFirstSecondRetryInterval = 30; //30mins |
|
44 const TInt KThirdFourthRetryInterval = 24*60; //one day in minutes |
|
45 #endif //_DEMO |
|
46 |
|
47 const TInt StartNow = 0; |
|
48 const TInt KSoftNotificationPriority = 1000; //minimum soft notifier priority |
|
49 const TInt KMaxRetry = 4; //Max times of retry when refresh fails for some reason |
|
50 const TInt StartAfterOneMin = 1; //1mins |
|
51 |
|
52 |
|
53 |
|
54 #endif //IAUPDATEBGCONST_H |
|
55 |
|
56 |