diff -r 9569ea080d5a -r 4d230e702aa3 engine/inc/Podcatcher.pan --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/engine/inc/Podcatcher.pan Tue Apr 27 19:26:48 2010 +0100 @@ -0,0 +1,37 @@ +/* +* Copyright (c) 2010 Sebastian Brannstrom +* +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "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: +* EmbedDev AB - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + +#ifndef __PODCATCHER_PAN__ +#define __PODCATCHER_PAN__ + +enum TPodcatcherPanics + { + EPodcatcherPanicDB = 1, + EPodcatcherPanicAlreadyActive, + EPodcatcherPanicFeedEngineState, + EPodcatcherPanicFeedView + }; + + +inline void Panic(TPodcatcherPanics aReason) + { + _LIT(applicationName,"Podcatcher"); + User::Panic(applicationName, aReason); + } + +#endif