locationmapnavfw/library/inc/mninternal.inl
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 /*
       
     2 * Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Internal inline methods
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // -----------------------------------------------------------------------------
       
    20 //  Used to panic server implementation
       
    21 // -----------------------------------------------------------------------------
       
    22 //
       
    23 inline void PanicServer( TInt aReason )
       
    24     {
       
    25     User::Panic( KMnPanicServerFault, aReason );
       
    26     }
       
    27 
       
    28 // -----------------------------------------------------------------------------
       
    29 //  Used to panic client from server side
       
    30 // -----------------------------------------------------------------------------
       
    31 //
       
    32 inline void PanicClient( const RMessage2& aMessage, TInt aReason )
       
    33     {
       
    34     aMessage.Panic( KMnPanicClientFault, aReason );
       
    35     }
       
    36 
       
    37 // -----------------------------------------------------------------------------
       
    38 //  Used for internal panic, debugging time only
       
    39 // -----------------------------------------------------------------------------
       
    40 //
       
    41 inline void PanicSelf( TInt aReason )
       
    42     {
       
    43     User::Panic( KMnPanicInternal, aReason );
       
    44     }