33
|
1 |
/*
|
|
2 |
* Copyright (c) 2002 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: Various Constants
|
|
15 |
*
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
|
|
20 |
#ifndef PSETCONSTANTS_H
|
|
21 |
#define PSETCONSTANTS_H
|
|
22 |
|
|
23 |
//Common
|
|
24 |
const TUid KPSetUidPset = { 0x100058E3 };
|
|
25 |
const TInt KPSetUnusedValue = 255; //unknown basic service group
|
|
26 |
const TInt KPSetNumberOfBsc = 13;
|
|
27 |
const TInt KPsetRequestAlreadySet = -1;
|
|
28 |
const TInt KPsetPhoneNumberLength = 100;
|
|
29 |
typedef TBuf<KPsetPhoneNumberLength> TTelNumber;
|
|
30 |
|
|
31 |
//Divert object
|
|
32 |
const TInt KPSetDefaultNumberMax = 3;
|
|
33 |
const TInt KPSetDefaultDelayTimeValue = 0;
|
|
34 |
const TInt KPSetFirstDefNumber = 1;
|
|
35 |
const TInt KPSetSecondDefNumber = 2;
|
|
36 |
const TInt KPSetThirdDefNumber = 3;
|
|
37 |
const TInt KPsetDelayTimeDivider = 5;
|
|
38 |
const TInt KPsetDefaultTimerValue = 30;
|
|
39 |
const TInt KPsetMatchingChars = 7;
|
|
40 |
_LIT( KPSetAsterisk, "*" );
|
|
41 |
|
|
42 |
//Barring
|
|
43 |
const TInt KPsetPwdLength = 10;
|
|
44 |
typedef TBuf<KPsetPwdLength> TBarringPassword;
|
|
45 |
|
|
46 |
// Network object
|
|
47 |
const TInt KPSetNetworkInfoArrayGranularity = 10;
|
|
48 |
|
|
49 |
// Service codes for setting passwords
|
|
50 |
const TInt KPsetAllSSServices = 0;
|
|
51 |
const TInt KPsetBarringService = 330;
|
|
52 |
|
|
53 |
//ETEL connection
|
|
54 |
const TInt KPSetRetryCount = 7;
|
|
55 |
const TInt KPSetRetryTimeout = 100000;
|
|
56 |
const TInt KPSetNoLinesAvailable = -1;
|
|
57 |
|
|
58 |
#endif //PSETCONSTANTS_H
|
|
59 |
// End of file
|