|
Nokia N97 SDK Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : sensorexample.pan 00004 * Part of : sensorexample 00005 * Interface : 00006 * Description : 00007 * Version : 00008 * 00009 * Copyright (c) 2007 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 #ifndef __SENSOREXAMPLE_PAN__ 00017 #define __SENSOREXAMPLE_PAN__ 00018 00019 /** Sensorexample application panic codes */ 00020 enum TSensorExamplePanics 00021 { 00022 ESensorExampleUi = 1 00023 // add further panics here 00024 }; 00025 00026 inline void Panic(TSensorExamplePanics aReason) 00027 { 00028 _LIT(applicationName, "sensorexample"); 00029 User::Panic(applicationName, aReason); 00030 } 00031 00032 #endif // __SENSOREXAMPLE_PAN__
|
© Nokia 2009 |