Nokia N97 SDK
Example Applications Guide

focusevent.pan

00001 /*
00002 * ==============================================================================
00003 *  Name        : focusevent.pan
00004 *  Part of     : Focus event example
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2004 - 2006 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 __FOCUSEVENT_PAN__
00017 #define __FOCUSEVENT_PAN__
00018 
00019 /** FocusEvent application panic codes */
00020 enum TFocusEventPanics
00021     {
00022     EFocusEventBasicUi = 1
00023     // add further panics here
00024     };
00025 
00026 inline void Panic(TFocusEventPanics aReason)
00027     {
00028 
00029     _LIT(applicationName,"FocusEvent");
00030     User::Panic(applicationName, aReason);
00031     }
00032 
00033 #endif // __FOCUSEVENT_PAN__
00034 
00035 // End of File

© Nokia 2009

Back to top