#ifndef __MYAPP_PAN__ #define __MYAPP_PAN__ /** MyApp application panic codes. The application issues a panic if an * error occured so that it cannot continue */ enum TMyAppPanics { EMyAppBasicUi = 1 // add further panics here }; inline void Panic(TMyAppPanics aReason) { _LIT(applicationName,"MyApp"); User::Panic(applicationName, aReason); } #endif // __MYAPP_PAN__