diff -r 000000000000 -r e686773b3f54 phonebookui/Phonebook2/NewContactLauncher/inc/NewContactLauncher.pan --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phonebookui/Phonebook2/NewContactLauncher/inc/NewContactLauncher.pan Tue Feb 02 10:12:17 2010 +0200 @@ -0,0 +1,34 @@ +/* +* Copyright (c) 2009 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 file contains panic codes. +* +*/ + +#ifndef __NEWCONTACTLAUNCHER_PAN__ +#define __NEWCONTACTLAUNCHER_PAN__ + +/** NewContactLauncher application panic codes */ +enum TNewContactLauncherPanics + { + ENewContactLauncherUi = 1 + // add further panics here + }; + +inline void Panic(TNewContactLauncherPanics aReason) + { + _LIT(applicationName, "NewContactLauncher"); + User::Panic(applicationName, aReason); + } + +#endif // __NEWCONTACTLAUNCHER_PAN__