diff -r 000000000000 -r b856a9924bbc data/testpublisher/inc/testpublisher.pan --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/testpublisher/inc/testpublisher.pan Wed Jun 02 13:22:05 2010 +0300 @@ -0,0 +1,36 @@ +/* +* Copyright (c) {Year(s)} {Copyright owner}. +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". +* +* Initial Contributors: +* {Name} {Company} ? Initial contribution +* +* Contributors: +* {Name} {Company} ? {{Description of contribution}} +* +* Description: +* {{Description of the file}} +* +*/ + +#ifndef __TESTPUBLISHER_PAN__ +#define __TESTPUBLISHER_PAN__ + +/** TestPublisher application panic codes */ +enum TTestPublisherPanics + { + ETestPublisherUi = 1 + // add further panics here + }; + +inline void Panic(TTestPublisherPanics aReason) + { + _LIT(applicationName, "TestPublisher"); + User::Panic(applicationName, aReason); + } + +#endif // __TESTPUBLISHER_PAN__