sl@0
|
1 |
/*
|
sl@0
|
2 |
* Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
3 |
* All rights reserved.
|
sl@0
|
4 |
* This component and the accompanying materials are made available
|
sl@0
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
sl@0
|
6 |
* which accompanies this distribution, and is available
|
sl@0
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
8 |
*
|
sl@0
|
9 |
* Initial Contributors:
|
sl@0
|
10 |
* Nokia Corporation - initial contribution.
|
sl@0
|
11 |
*
|
sl@0
|
12 |
* Contributors:
|
sl@0
|
13 |
*
|
sl@0
|
14 |
* Description:
|
sl@0
|
15 |
*
|
sl@0
|
16 |
*/
|
sl@0
|
17 |
|
sl@0
|
18 |
|
sl@0
|
19 |
/**
|
sl@0
|
20 |
* @file
|
sl@0
|
21 |
* @internalTechnology
|
sl@0
|
22 |
*/
|
sl@0
|
23 |
|
sl@0
|
24 |
#ifndef _A3F_TRACE_CTXT_DEF_H_
|
sl@0
|
25 |
#define _A3F_TRACE_CTXT_DEF_H_
|
sl@0
|
26 |
|
sl@0
|
27 |
// MACROS
|
sl@0
|
28 |
//#define DISABLE_SYNTAX_CHECK
|
sl@0
|
29 |
#define DISABLE_GROUP_CHECKS
|
sl@0
|
30 |
|
sl@0
|
31 |
struct TTraceName
|
sl@0
|
32 |
{
|
sl@0
|
33 |
const TUint32 iId;
|
sl@0
|
34 |
const TUint32 iGrpId;
|
sl@0
|
35 |
#ifdef __WINS__
|
sl@0
|
36 |
const TText16* const iName;
|
sl@0
|
37 |
#else
|
sl@0
|
38 |
const wchar_t* const iName;
|
sl@0
|
39 |
#endif
|
sl@0
|
40 |
};
|
sl@0
|
41 |
|
sl@0
|
42 |
static const TTraceName TRACENFO[] =
|
sl@0
|
43 |
{
|
sl@0
|
44 |
{ CtxTest, 0x00000001, L"Test" },
|
sl@0
|
45 |
{ CtxDevSound, 0x00000002, L"DevSound" },
|
sl@0
|
46 |
{ CtxDsProxy, 0x00000004, L"DevSound proxy" },
|
sl@0
|
47 |
{ CtxDsStarter, 0x00000008, L"DevSound starter" },
|
sl@0
|
48 |
{ CtxDsServer, 0x00000010, L"DevSound server" },
|
sl@0
|
49 |
{ CtxDsdaptation, 0x00000020, L"DevSound adaptation" },
|
sl@0
|
50 |
{ CtxHwDevice, 0x00000040, L"HW device" },
|
sl@0
|
51 |
{ CtxPolicyProxy, 0x00000080, L"Policy proxy" },
|
sl@0
|
52 |
{ CtxPolicyServer, 0x00000100, L"Policy server" },
|
sl@0
|
53 |
{ CtxPolicyCtrl, 0x00000200, L"Policy control" },
|
sl@0
|
54 |
{ CtxMmRm, 0x00000400, L"Mm resource manager" },
|
sl@0
|
55 |
{ CtxAudioServer, 0x00000800, L"Audio server" },
|
sl@0
|
56 |
{ CtxAsProxy, 0x00001000, L"Audio server proxy" },
|
sl@0
|
57 |
{ CtxAsServer, 0x00002000, L"Audio server server" },
|
sl@0
|
58 |
{ CtxAsCtrl, 0x00004000, L"Audio server control" },
|
sl@0
|
59 |
{ CtxAsEap, 0x00008000, L"Audio server EAP" },
|
sl@0
|
60 |
{ CtxMdaif, 0x00010000, L"MDAIF" },
|
sl@0
|
61 |
{ CtxAaMm, 0x00020000, L"Message mapper" },
|
sl@0
|
62 |
{ CtxRadio, 0x00040000, L"Radio" }
|
sl@0
|
63 |
};
|
sl@0
|
64 |
|
sl@0
|
65 |
#define CtxDefaultGroups _CtxDefaultGroups()
|
sl@0
|
66 |
|
sl@0
|
67 |
|
sl@0
|
68 |
inline TInt _CtxDefaultGroups()
|
sl@0
|
69 |
{
|
sl@0
|
70 |
return TRACENFO[CtxTest].iGrpId |
|
sl@0
|
71 |
TRACENFO[CtxDevSound].iGrpId |
|
sl@0
|
72 |
TRACENFO[CtxDsProxy].iGrpId |
|
sl@0
|
73 |
TRACENFO[CtxDsStarter].iGrpId |
|
sl@0
|
74 |
TRACENFO[CtxDsServer].iGrpId |
|
sl@0
|
75 |
TRACENFO[CtxDsdaptation].iGrpId |
|
sl@0
|
76 |
TRACENFO[CtxHwDevice].iGrpId |
|
sl@0
|
77 |
TRACENFO[CtxPolicyProxy].iGrpId |
|
sl@0
|
78 |
TRACENFO[CtxPolicyServer].iGrpId |
|
sl@0
|
79 |
TRACENFO[CtxPolicyCtrl].iGrpId |
|
sl@0
|
80 |
TRACENFO[CtxMmRm].iGrpId |
|
sl@0
|
81 |
TRACENFO[CtxAudioServer].iGrpId |
|
sl@0
|
82 |
TRACENFO[CtxAsProxy].iGrpId |
|
sl@0
|
83 |
TRACENFO[CtxAsServer].iGrpId |
|
sl@0
|
84 |
TRACENFO[CtxAsCtrl].iGrpId |
|
sl@0
|
85 |
TRACENFO[CtxAsEap].iGrpId |
|
sl@0
|
86 |
TRACENFO[CtxMdaif].iGrpId |
|
sl@0
|
87 |
TRACENFO[CtxAaMm].iGrpId |
|
sl@0
|
88 |
TRACENFO[CtxRadio].iGrpId;
|
sl@0
|
89 |
}
|
sl@0
|
90 |
|
sl@0
|
91 |
#endif // _A3F_TRACE_CTXT_DEF_H_
|
sl@0
|
92 |
|
sl@0
|
93 |
// End of File
|