os/security/contentmgmt/contentaccessfwfordrm/inc/cafpanic.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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  @file 
    22  @publishedAll
    23  @released
    24 */
    25 
    26 #ifndef __CAFPANIC_H__
    27 #define __CAFPANIC_H__
    28 
    29 #include <e32base.h>
    30 
    31 /** Panic codes generated by the Content Access Framework 
    32 */
    33 enum TCafPanics
    34 	{
    35 	ECafPanicDuplicateF32Agent 					= 1, ///< There appears to be more than one default agent
    36 	ECafPanicNoF32Agent							= 2, ///< No default (F32) agent was found
    37 	ECafPanicF32AgentImportNotSupported			= 3, ///< CAF should never ask the F32 agent to import files
    38 	ECafPanicF32AgentRightManagerNotSupported   = 4, ///< CAF should never ask the F32 agent to invoke a rights manager
    39 	ECafPanicF32AgentManagementInfoNotSupported = 5,  ///< CAF should never ask the F32 agent to display an agent management dialog for itself
    40 	ECafPanicContentIteratorThreadPanic 		= 6,  ///< The content iterator thread panic'd
    41 	ECafPanicContentIteratorUnknownRequest		= 7,  ///< The content iterator was asked to perform an unknown function
    42 	ECafPanicF32AgentPrepareHTTPHeadersNotSupported = 8  ///< CAF should never ask the F32 agent for HTTP download headers
    43 	};
    44 
    45 _LIT(KCafPanicString,"CAF");
    46 
    47 #endif // __CAFPANIC_H__
    48