diff -r 000000000000 -r ff3b6d0fd310 cbs/CbsServer/McnClientSrc/CbsMcnPanic.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cbs/CbsServer/McnClientSrc/CbsMcnPanic.cpp Tue Feb 02 01:11:09 2010 +0200 @@ -0,0 +1,42 @@ +/* +* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: This is called by this library's functions on critical error situations. +* +*/ + + +// INCLUDE FILES + +#include +#include "CbsMcnPanic.h" // common header + +// CONSTANTS + +_LIT( KMcnPanic, "CbsMcn" ); + +// ==================== LOCAL FUNCTIONS ==================== + +// ----------------------------------------------------------------------------- +// CbsMcnPanic +// Panics the McnClient +// Returns: None +// ----------------------------------------------------------------------------- +// +GLDEF_C void CbsMcnPanic( + TInt aPanic ) + { + User::Panic( KMcnPanic, aPanic ); + } + +// End of File