contentmgmt/contentaccessfwfordrm/inc/cafpanic.h
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 /*
       
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * The panic method and panic code declarations
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 /**
       
    23  @file 
       
    24  @publishedPartner
       
    25  @released
       
    26 */
       
    27 
       
    28 #ifndef __CAFPANIC_H__
       
    29 #define __CAFPANIC_H__
       
    30 
       
    31 #include <e32base.h>
       
    32 
       
    33 /** Panic codes generated by the Content Access Framework 
       
    34 */
       
    35 enum TCafPanics
       
    36 	{
       
    37 	ECafPanicDuplicateF32Agent 					= 1, ///< There appears to be more than one default agent
       
    38 	ECafPanicNoF32Agent							= 2, ///< No default (F32) agent was found
       
    39 	ECafPanicF32AgentImportNotSupported			= 3, ///< CAF should never ask the F32 agent to import files
       
    40 	ECafPanicF32AgentRightManagerNotSupported   = 4, ///< CAF should never ask the F32 agent to invoke a rights manager
       
    41 	ECafPanicF32AgentManagementInfoNotSupported = 5,  ///< CAF should never ask the F32 agent to display an agent management dialog for itself
       
    42 	ECafPanicContentIteratorThreadPanic 		= 6,  ///< The content iterator thread panic'd
       
    43 	ECafPanicContentIteratorUnknownRequest		= 7,  ///< The content iterator was asked to perform an unknown function
       
    44 	ECafPanicF32AgentPrepareHTTPHeadersNotSupported = 8  ///< CAF should never ask the F32 agent for HTTP download headers
       
    45 	};
       
    46 
       
    47 _LIT(KCafPanicString,"CAF");
       
    48 
       
    49 #endif // __CAFPANIC_H__