smsprotocols/smsstack/smsu/src/smsumain.cpp
changeset 0 3553901f7fa8
child 19 630d2f34d719
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 1999-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 // Implements panic and e32dll functions for SMSU
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20 */
       
    21 
       
    22 #include "smsumain.h"
       
    23 
       
    24 #include "smsstacklog.h"
       
    25 
       
    26 /**
       
    27  *  panic in SMSU
       
    28  */
       
    29 GLDEF_C void SmsuPanic(TSmsuPanic aPanic)
       
    30     {
       
    31     // Ignore in code coverage  - panic method
       
    32     BULLSEYE_OFF
       
    33     LOGSMSU2("SMSUPANIC %d", aPanic);
       
    34     _LIT(KSmsuPanic, "SMSU");
       
    35     User::Panic(KSmsuPanic,aPanic);
       
    36     BULLSEYE_RESTORE
       
    37     }