Nokia N97 SDK
Example Applications Guide

AddressBookApp.pan

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

© Nokia 2009

Back to top