0
|
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 __DbgTrcCliUtils_H__
|
|
19 |
#define __DbgTrcCliUtils_H__
|
|
20 |
|
|
21 |
// System includes
|
|
22 |
#include <e32base.h>
|
|
23 |
|
|
24 |
|
|
25 |
//
|
|
26 |
// DbgTrcCliUtils (header)
|
|
27 |
//
|
|
28 |
class DbgTrcCliUtils
|
|
29 |
{
|
|
30 |
public: // ENUMERATIONS
|
|
31 |
/** Panic numbers associated with the DBTRCCLI panic category. */
|
|
32 |
enum TDbgTrcCliPanic
|
|
33 |
{
|
|
34 |
EDbgTrcCliPanicArgument = 0,
|
|
35 |
EDbgTrcCliPanicCancel = 1,
|
|
36 |
EDbgTrcCliPanicLast
|
|
37 |
};
|
|
38 |
/** Panic numbers associated with the DBGTRCCLIFAULT panic category. */
|
|
39 |
enum TDbgTrcCliFault
|
|
40 |
{
|
|
41 |
EDbgTrcCliFaultLogic = 0,
|
|
42 |
EDbgTrcCliFaultData = 1,
|
|
43 |
EDbgTrcCliFaultCouldNotLoadServer = 2,
|
|
44 |
EDbgTrcCliFaultDebugFuncError = 3,
|
|
45 |
EDbgTrcCliFaultLast
|
|
46 |
};
|
|
47 |
|
|
48 |
public:
|
|
49 |
|
|
50 |
static void Panic(TDbgTrcCliPanic aPanic);
|
|
51 |
|
|
52 |
static void Fault(TDbgTrcCliFault aFault);
|
|
53 |
|
|
54 |
static TInt StartDbgTrcServer();
|
|
55 |
};
|
|
56 |
|
|
57 |
#endif //__DbgTrcCliUtils_H__
|
|
58 |
|