sysstatemgmt/systemstatemgr/localsrc/ssmpanic.cpp
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-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 // cmdpanic.cpp
       
    15 // Provides the implementation of the PanicNow function for global
       
    16 // use throughout the System State Management component.
       
    17 // 
       
    18 //
       
    19 
       
    20 /**
       
    21  @internalComponent
       
    22 */
       
    23 
       
    24 #include "ssmpanic.h"
       
    25 
       
    26 //
       
    27 // Global panic function for use within System State Management component
       
    28 void PanicNow(const TDesC &aCategory, TInt aReason)
       
    29   	{
       
    30   	User::Panic(aCategory, aReason);
       
    31   	}