1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/persistentdata/featuremgmt/featuremgr/inc/featurepanics.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,89 @@
1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +//
1.18 +
1.19 +/**
1.20 + @file
1.21 + @internalComponent
1.22 +*/
1.23 +
1.24 +#ifndef FEATUREPANICS_H
1.25 +#define FEATUREPANICS_H
1.26 +
1.27 +/**
1.28 +The following enumaration defines the Feature Manager panic codes.
1.29 +They are provided for debug purposes only. They are internal values
1.30 +that may change in future.
1.31 +*/
1.32 +enum TFeatMgrPanic
1.33 +{
1.34 + //EFmpUndefined = 0,
1.35 +
1.36 + // TLS has not been set up to the thread using Feature Manager.
1.37 + ELibNotInitialized = 0,
1.38 +
1.39 + // Illegal function called via client-server interface
1.40 + EPanicIllegalFunction,
1.41 +
1.42 + // Bad handle in client-server interface
1.43 + EPanicBadHandle,
1.44 +
1.45 + // Bad descriptor in client-server interface
1.46 + EPanicBadDescriptor,
1.47 +
1.48 + // Invalid feature info
1.49 + EPanicInvalidFeatureInfo,
1.50 +
1.51 + // Feature change notification has already been requested.
1.52 + EPanicNotifyRequest,
1.53 +
1.54 + // Illegal argument, cannot identify the message.
1.55 + EPanicIllegalArgument,
1.56 +
1.57 + // Error when loading existing plugin.
1.58 + EPanicLoadPluginError,
1.59 +
1.60 + // No feature files have been found in the ROM; indicates integration error.
1.61 + EPanicNoFeatureFiles,
1.62 +
1.63 + // No DSRs have been found in the ROM; indicates integration error.
1.64 + EPanicNoDSR,
1.65 +
1.66 + /** The Feature Manager server has found an invalid feature bit flag
1.67 + combination. ROM defined feature has broken rule 1. A blacklisted ROM
1.68 + defined feature had one of modifiable, persisted or uninitialised
1.69 + flags set. */
1.70 + EFmpInvalidFeatureBitFlagsRule1,
1.71 +
1.72 + /** The Feature Manager server has found an invalid feature bit flag
1.73 + combination. ROM defined feature has broken rule 2. A ROM defined read-only
1.74 + feature had either persist or uninitialised flags set. */
1.75 + EFmpInvalidFeatureBitFlagsRule2,
1.76 +
1.77 + /** The Feature Manager server has found an invalid feature bit flag
1.78 + combination. Feature added using the API broke rule 3. Run-time created
1.79 + feature had the black listed flag set. Only used for ROM defined features */
1.80 + EFmpInvalidFeatureBitFlagsRule3,
1.81 +
1.82 + /** The Feature Manager server has found an invalid feature bit flag
1.83 + combination. ROM defined feature has broken rule 4. Run-time created
1.84 + feature had the uninitialised flag set but was marked as non-modifiable */
1.85 + EFmpInvalidFeatureBitFlagsRule4,
1.86 +
1.87 +};
1.88 +
1.89 +
1.90 +#endif // FEATUREPANICS_H
1.91 +
1.92 +// End of File