epoc32/include/caf/cafpanic.h
branchSymbian2
changeset 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/caf/cafpanic.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,49 @@
     1.4 +/*
     1.5 +* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of the License "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description: 
    1.18 +* The panic method and panic code declarations
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +
    1.24 +
    1.25 +/**
    1.26 + @file 
    1.27 + @publishedPartner
    1.28 + @released
    1.29 +*/
    1.30 +
    1.31 +#ifndef __CAFPANIC_H__
    1.32 +#define __CAFPANIC_H__
    1.33 +
    1.34 +#include <e32base.h>
    1.35 +
    1.36 +/** Panic codes generated by the Content Access Framework 
    1.37 +*/
    1.38 +enum TCafPanics
    1.39 +	{
    1.40 +	ECafPanicDuplicateF32Agent 					= 1, ///< There appears to be more than one default agent
    1.41 +	ECafPanicNoF32Agent							= 2, ///< No default (F32) agent was found
    1.42 +	ECafPanicF32AgentImportNotSupported			= 3, ///< CAF should never ask the F32 agent to import files
    1.43 +	ECafPanicF32AgentRightManagerNotSupported   = 4, ///< CAF should never ask the F32 agent to invoke a rights manager
    1.44 +	ECafPanicF32AgentManagementInfoNotSupported = 5,  ///< CAF should never ask the F32 agent to display an agent management dialog for itself
    1.45 +	ECafPanicContentIteratorThreadPanic 		= 6,  ///< The content iterator thread panic'd
    1.46 +	ECafPanicContentIteratorUnknownRequest		= 7,  ///< The content iterator was asked to perform an unknown function
    1.47 +	ECafPanicF32AgentPrepareHTTPHeadersNotSupported = 8  ///< CAF should never ask the F32 agent for HTTP download headers
    1.48 +	};
    1.49 +
    1.50 +_LIT(KCafPanicString,"CAF");
    1.51 +
    1.52 +#endif // __CAFPANIC_H__