sl@0: // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: #ifndef SRVDEFS_H sl@0: #define SRVDEFS_H sl@0: sl@0: #include sl@0: sl@0: const TUint32 KMetaBackup = 0x01000000; sl@0: const TUint32 KMetaRfsValue = 0x02000000; // Restore Factory Settings sl@0: const TUint32 KMetaDefaultValue = 0x80000000; sl@0: #ifdef SYMBIAN_CENTREP_SUPPORT_MULTIROFS sl@0: const TUint32 KMetaType = 0x30000000; sl@0: const TUint32 KMetaIndividual = 0x40000000; sl@0: const TUint32 KMetaInternal = 0x70000000; sl@0: #else sl@0: const TUint32 KMetaType = 0x70000000; sl@0: #endif sl@0: sl@0: sl@0: const TUint8 KPersistFormatVersion = 1 ; sl@0: const TUint8 KPersistFormatSupportsDeletedSettings = 1 ; sl@0: sl@0: #ifdef SYMBIAN_CENTREP_SUPPORT_MULTIROFS sl@0: const TUint8 KPersistFormatSupportsIndMetaIndicator = 2 ; sl@0: //New internal error code to be mapped to the client panic code sl@0: //these error codes will never reach the client so will not be published sl@0: /** sl@0: @internalComponent sl@0: */ sl@0: const TInt KErrMultiRofsOldCreUsed= -30001; sl@0: const TInt KErrMultiRofsGlobalOverride= -30002; sl@0: const TInt KErrMultiRofsTypeOverride= -30003; sl@0: const TInt KErrMultiRofsIllegalRofs= -30004; sl@0: #endif sl@0: namespace NCentralRepositoryResources sl@0: { sl@0: enum TCentRepLocation sl@0: { sl@0: EPersists, sl@0: EInstall, sl@0: ERom sl@0: }; sl@0: sl@0: enum TCentRepFileType sl@0: { sl@0: ECre, sl@0: EIni, sl@0: ETmp, sl@0: EUnknown sl@0: }; sl@0: } sl@0: sl@0: #endif // SRVDEFS_H