sl@0: // Copyright (c) 2007-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: /** sl@0: @file sl@0: @internalComponent sl@0: */ sl@0: sl@0: #ifndef FEATUREPANICS_H sl@0: #define FEATUREPANICS_H sl@0: sl@0: /** sl@0: The following enumaration defines the Feature Manager panic codes. sl@0: They are provided for debug purposes only. They are internal values sl@0: that may change in future. sl@0: */ sl@0: enum TFeatMgrPanic sl@0: { sl@0: //EFmpUndefined = 0, sl@0: sl@0: // TLS has not been set up to the thread using Feature Manager. sl@0: ELibNotInitialized = 0, sl@0: sl@0: // Illegal function called via client-server interface sl@0: EPanicIllegalFunction, sl@0: sl@0: // Bad handle in client-server interface sl@0: EPanicBadHandle, sl@0: sl@0: // Bad descriptor in client-server interface sl@0: EPanicBadDescriptor, sl@0: sl@0: // Invalid feature info sl@0: EPanicInvalidFeatureInfo, sl@0: sl@0: // Feature change notification has already been requested. sl@0: EPanicNotifyRequest, sl@0: sl@0: // Illegal argument, cannot identify the message. sl@0: EPanicIllegalArgument, sl@0: sl@0: // Error when loading existing plugin. sl@0: EPanicLoadPluginError, sl@0: sl@0: // No feature files have been found in the ROM; indicates integration error. sl@0: EPanicNoFeatureFiles, sl@0: sl@0: // No DSRs have been found in the ROM; indicates integration error. sl@0: EPanicNoDSR, sl@0: sl@0: /** The Feature Manager server has found an invalid feature bit flag sl@0: combination. ROM defined feature has broken rule 1. A blacklisted ROM sl@0: defined feature had one of modifiable, persisted or uninitialised sl@0: flags set. */ sl@0: EFmpInvalidFeatureBitFlagsRule1, sl@0: sl@0: /** The Feature Manager server has found an invalid feature bit flag sl@0: combination. ROM defined feature has broken rule 2. A ROM defined read-only sl@0: feature had either persist or uninitialised flags set. */ sl@0: EFmpInvalidFeatureBitFlagsRule2, sl@0: sl@0: /** The Feature Manager server has found an invalid feature bit flag sl@0: combination. Feature added using the API broke rule 3. Run-time created sl@0: feature had the black listed flag set. Only used for ROM defined features */ sl@0: EFmpInvalidFeatureBitFlagsRule3, sl@0: sl@0: /** The Feature Manager server has found an invalid feature bit flag sl@0: combination. ROM defined feature has broken rule 4. Run-time created sl@0: feature had the uninitialised flag set but was marked as non-modifiable */ sl@0: EFmpInvalidFeatureBitFlagsRule4, sl@0: sl@0: }; sl@0: sl@0: sl@0: #endif // FEATUREPANICS_H sl@0: sl@0: // End of File