Nokia N97 SDK
Example Applications Guide

ChatSdpAttributeParser.pan

00001 /*
00002 * ==============================================================================
00003 *  Name        : ChatAttributeparser.pan
00004 *  Part of     : Chat
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright (c) 2005-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 __CHATSDP_ATTRIBUTE_PARSER_PAN__
00017 #define __CHATSDP_ATTRIBUTE_PARSER_PAN__
00018 
00019 /** Panic Category */
00020 _LIT( KPanicSAP, "SAP" );
00021 
00022 /** Chat application panic codes */
00023 enum TChatSdpAttributeParserPanics 
00024     {
00025     EChatSdpAttributeParserInvalidCommand = 1,
00026     EChatSdpAttributeParserNoValue,
00027     EChatSdpAttributeParserValueIsList,
00028     EChatSdpAttributeParserValueTypeUnsupported
00029     };
00030 
00031 inline void Panic( TChatSdpAttributeParserPanics aReason )
00032     { 
00033     User::Panic( KPanicSAP, aReason );
00034     }
00035 
00036 
00037 #endif // __CHATSDP_ATTRIBUTE_PARSER_PAN__
00038 
00039 // End of File

© Nokia 2009

Back to top