Nokia N97 SDK
Example Applications Guide

OomExample.pan

00001 /*
00002  * ============================================================================
00003  *  Name        : OomExample.pan
00004  *  Part of     : OomMonitor Example Application
00005  *  Description : ?Description
00006  *  Version     : %version: 1 % << Don't touch! Updated by Synergy at check-out.
00007  *
00008  *  Copyright © 2009 Nokia.  All rights reserved.
00009  *  This material, including documentation and any related computer
00010  *  programs, is protected by copyright controlled by Nokia.  All
00011  *  rights are reserved.  Copying, including reproducing, storing,
00012  *  adapting or translating, any or all of this material requires the
00013  *  prior written consent of Nokia.  This material also contains
00014  *  confidential information which may not be disclosed to others
00015  *  without the prior written consent of Nokia.
00016  * ============================================================================
00017  * Template version: 4.2
00018  */
00019 
00020 #ifndef __OOMEXAMPLE_PAN__
00021 #define __OOMEXAMPLE_PAN__
00022 
00023 /** OomExample application panic codes */
00024 enum TOomExamplePanics
00025     {
00026     EOomExampleUiInvalidCommand = 1
00027     // add further panics here
00028     };
00029 
00030 inline void Panic(TOomExamplePanics aReason)
00031     {
00032     _LIT(applicationName, "OomExample");
00033     User::Panic(applicationName, aReason);
00034     }
00035 
00036 #endif // __OOMEXAMPLE_PAN__

© Nokia 2009

Back to top