featuremgmt/featuremgr/inc/featurepanics.h
changeset 0 08ec8eefde2f
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 #ifndef FEATUREPANICS_H
       
    22 #define FEATUREPANICS_H
       
    23 
       
    24 /**
       
    25 The following enumaration defines the Feature Manager panic codes.
       
    26 They are provided for debug purposes only. They are internal values
       
    27 that may change in future.
       
    28 */
       
    29 enum TFeatMgrPanic
       
    30 {
       
    31     //EFmpUndefined = 0,
       
    32     
       
    33     // TLS has not been set up to the thread using Feature Manager.    
       
    34     ELibNotInitialized = 0,
       
    35 
       
    36     // Illegal function called via client-server interface
       
    37     EPanicIllegalFunction,
       
    38     
       
    39     // Bad handle in client-server interface
       
    40 	EPanicBadHandle,
       
    41 	
       
    42 	// Bad descriptor in client-server interface
       
    43 	EPanicBadDescriptor,
       
    44 	
       
    45 	// Invalid feature info
       
    46 	EPanicInvalidFeatureInfo,
       
    47 	
       
    48 	// Feature change notification has already been requested.
       
    49 	EPanicNotifyRequest,
       
    50 	
       
    51 	// Illegal argument, cannot identify the message.
       
    52 	EPanicIllegalArgument,
       
    53 	
       
    54 	// Error when loading existing plugin.
       
    55 	EPanicLoadPluginError,
       
    56 
       
    57 	// No feature files have been found in the ROM; indicates integration error.
       
    58 	EPanicNoFeatureFiles,
       
    59 	
       
    60 	// No DSRs have been found in the ROM; indicates integration error.
       
    61 	EPanicNoDSR,
       
    62 	
       
    63 	/** The Feature Manager server has found an invalid feature bit flag 
       
    64     combination. ROM defined feature has broken rule 1. A blacklisted ROM 
       
    65     defined feature had one of modifiable, persisted or uninitialised 
       
    66     flags set. */
       
    67 	EFmpInvalidFeatureBitFlagsRule1,
       
    68 	
       
    69 	/** The Feature Manager server has found an invalid feature bit flag 
       
    70     combination. ROM defined feature has broken rule 2. A ROM defined read-only
       
    71     feature had either persist or uninitialised flags set. */
       
    72 	EFmpInvalidFeatureBitFlagsRule2,
       
    73 	
       
    74 	/** The Feature Manager server has found an invalid feature bit flag 
       
    75     combination. Feature added using the API broke rule 3. Run-time created
       
    76     feature had the black listed flag set. Only used for ROM defined features */
       
    77 	EFmpInvalidFeatureBitFlagsRule3,
       
    78 	
       
    79 	/** The Feature Manager server has found an invalid feature bit flag 
       
    80     combination. ROM defined feature has broken rule 4. Run-time created
       
    81     feature had the uninitialised flag set but was marked as non-modifiable */
       
    82 	EFmpInvalidFeatureBitFlagsRule4,
       
    83 	
       
    84 };
       
    85 
       
    86 
       
    87 #endif  // FEATUREPANICS_H
       
    88 
       
    89 // End of File