smsprotocols/smsstack/wapprot/Src/wapmain.cpp
changeset 0 3553901f7fa8
child 19 630d2f34d719
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 #include "wapmain.h"
       
    16 #include <e32std.h>
       
    17 #include "smsstacklog.h"
       
    18 
       
    19 void Panic(TWAPSMSPanic aPanic)
       
    20      {
       
    21      // Ignore in code coverag - panic method
       
    22      BULLSEYE_OFF
       
    23      LOGWAPPROT2("WAPUPANIC %d", aPanic);
       
    24      _LIT(KWapProtPanic, "WAPPROT");
       
    25      User::Panic(KWapProtPanic, aPanic);
       
    26      BULLSEYE_RESTORE
       
    27      }