sl@0
|
1 |
// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
//
|
sl@0
|
15 |
|
sl@0
|
16 |
#ifndef SRVDEFS_H
|
sl@0
|
17 |
#define SRVDEFS_H
|
sl@0
|
18 |
|
sl@0
|
19 |
#include <e32def.h>
|
sl@0
|
20 |
|
sl@0
|
21 |
const TUint32 KMetaBackup = 0x01000000;
|
sl@0
|
22 |
const TUint32 KMetaRfsValue = 0x02000000; // Restore Factory Settings
|
sl@0
|
23 |
const TUint32 KMetaDefaultValue = 0x80000000;
|
sl@0
|
24 |
#ifdef SYMBIAN_CENTREP_SUPPORT_MULTIROFS
|
sl@0
|
25 |
const TUint32 KMetaType = 0x30000000;
|
sl@0
|
26 |
const TUint32 KMetaIndividual = 0x40000000;
|
sl@0
|
27 |
const TUint32 KMetaInternal = 0x70000000;
|
sl@0
|
28 |
#else
|
sl@0
|
29 |
const TUint32 KMetaType = 0x70000000;
|
sl@0
|
30 |
#endif
|
sl@0
|
31 |
|
sl@0
|
32 |
|
sl@0
|
33 |
const TUint8 KPersistFormatVersion = 1 ;
|
sl@0
|
34 |
const TUint8 KPersistFormatSupportsDeletedSettings = 1 ;
|
sl@0
|
35 |
|
sl@0
|
36 |
#ifdef SYMBIAN_CENTREP_SUPPORT_MULTIROFS
|
sl@0
|
37 |
const TUint8 KPersistFormatSupportsIndMetaIndicator = 2 ;
|
sl@0
|
38 |
//New internal error code to be mapped to the client panic code
|
sl@0
|
39 |
//these error codes will never reach the client so will not be published
|
sl@0
|
40 |
/**
|
sl@0
|
41 |
@internalComponent
|
sl@0
|
42 |
*/
|
sl@0
|
43 |
const TInt KErrMultiRofsOldCreUsed= -30001;
|
sl@0
|
44 |
const TInt KErrMultiRofsGlobalOverride= -30002;
|
sl@0
|
45 |
const TInt KErrMultiRofsTypeOverride= -30003;
|
sl@0
|
46 |
const TInt KErrMultiRofsIllegalRofs= -30004;
|
sl@0
|
47 |
#endif
|
sl@0
|
48 |
namespace NCentralRepositoryResources
|
sl@0
|
49 |
{
|
sl@0
|
50 |
enum TCentRepLocation
|
sl@0
|
51 |
{
|
sl@0
|
52 |
EPersists,
|
sl@0
|
53 |
EInstall,
|
sl@0
|
54 |
ERom
|
sl@0
|
55 |
};
|
sl@0
|
56 |
|
sl@0
|
57 |
enum TCentRepFileType
|
sl@0
|
58 |
{
|
sl@0
|
59 |
ECre,
|
sl@0
|
60 |
EIni,
|
sl@0
|
61 |
ETmp,
|
sl@0
|
62 |
EUnknown
|
sl@0
|
63 |
};
|
sl@0
|
64 |
}
|
sl@0
|
65 |
|
sl@0
|
66 |
#endif // SRVDEFS_H
|