1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/contentmgmt/contentaccessfwfordrm/inc/cafpanic.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,48 @@
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 + @file
1.25 + @publishedAll
1.26 + @released
1.27 +*/
1.28 +
1.29 +#ifndef __CAFPANIC_H__
1.30 +#define __CAFPANIC_H__
1.31 +
1.32 +#include <e32base.h>
1.33 +
1.34 +/** Panic codes generated by the Content Access Framework
1.35 +*/
1.36 +enum TCafPanics
1.37 + {
1.38 + ECafPanicDuplicateF32Agent = 1, ///< There appears to be more than one default agent
1.39 + ECafPanicNoF32Agent = 2, ///< No default (F32) agent was found
1.40 + ECafPanicF32AgentImportNotSupported = 3, ///< CAF should never ask the F32 agent to import files
1.41 + ECafPanicF32AgentRightManagerNotSupported = 4, ///< CAF should never ask the F32 agent to invoke a rights manager
1.42 + ECafPanicF32AgentManagementInfoNotSupported = 5, ///< CAF should never ask the F32 agent to display an agent management dialog for itself
1.43 + ECafPanicContentIteratorThreadPanic = 6, ///< The content iterator thread panic'd
1.44 + ECafPanicContentIteratorUnknownRequest = 7, ///< The content iterator was asked to perform an unknown function
1.45 + ECafPanicF32AgentPrepareHTTPHeadersNotSupported = 8 ///< CAF should never ask the F32 agent for HTTP download headers
1.46 + };
1.47 +
1.48 +_LIT(KCafPanicString,"CAF");
1.49 +
1.50 +#endif // __CAFPANIC_H__
1.51 +