dbgagents/trkagent/tcbclient/TrkTcbClientUtils.h
changeset 0 c6b0df440bee
equal deleted inserted replaced
-1:000000000000 0:c6b0df440bee
       
     1 /*
       
     2 * Copyright (c) 2009 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __TrkTcbClientUtils_H__
       
    19 #define __TrkTcbClientUtils_H__
       
    20 
       
    21 // System includes
       
    22 #include <e32base.h>
       
    23 
       
    24 
       
    25 //
       
    26 //  TrkTcbClientUtils (header)
       
    27 //
       
    28 class TrkTcbClientUtils
       
    29 {
       
    30 public:										// ENUMERATIONS
       
    31 	/** Panic numbers associated with the TRKTCBCLI panic category. */
       
    32 	enum TTrkTcbClientPanic
       
    33 	{
       
    34 		ETrkTcbClientPanicArgument			= 0,
       
    35 		ETrkTcbClientPanicCancel			= 1,
       
    36 		ETrkTcbClientPanicLast
       
    37 	};
       
    38 	/** Panic numbers associated with the TRKTCBCLIFAULT panic category. */
       
    39 	enum TTrkTcbClientFault
       
    40 	{
       
    41 		ETrkTcbClientFaultLogic					= 0,
       
    42 		ETrkTcbClientFaultData					= 1,
       
    43 		ETrkTcbClientFaultCouldNotLoadServer	= 2,
       
    44 		ETrkTcbClientFaultDebugFuncError		= 3,
       
    45 		ETrkTcbClientFaultLast
       
    46 	};
       
    47 
       
    48 public:
       
    49 
       
    50 	static void	Panic(TTrkTcbClientPanic aPanic);
       
    51 
       
    52 	static void	Fault(TTrkTcbClientFault aFault);
       
    53 
       
    54 	static TInt	StartTrkTcbServer();
       
    55 };
       
    56 
       
    57 #endif //__TrkTcbClientUtils_H__
       
    58