1.1 --- a/epoc32/include/a3f/a3f_trace_ctxt.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/a3f/a3f_trace_ctxt.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -2,9 +2,9 @@
1.4 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 * All rights reserved.
1.6 * This component and the accompanying materials are made available
1.7 -* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 * which accompanies this distribution, and is available
1.10 -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.12 *
1.13 * Initial Contributors:
1.14 * Nokia Corporation - initial contribution.
1.15 @@ -20,26 +20,12 @@
1.16
1.17 /**
1.18 @file
1.19 - @internalTechnology
1.20 +* @publishedAll
1.21 */
1.22
1.23 #ifndef _A3F_TRACE_CTXT_H_
1.24 #define _A3F_TRACE_CTXT_H_
1.25
1.26 -// MACROS
1.27 -//#define DISABLE_SYNTAX_CHECK
1.28 -#define DISABLE_GROUP_CHECKS
1.29 -
1.30 -struct TTraceName
1.31 - {
1.32 - const TUint32 iId;
1.33 - const TUint32 iGrpId;
1.34 -#ifdef __WINS__
1.35 - const TText16* const iName;
1.36 -#else
1.37 - const wchar_t* const iName;
1.38 -#endif
1.39 - };
1.40
1.41 /**
1.42 @publishedAll
1.43 @@ -71,55 +57,9 @@
1.44 CtxRadio
1.45 };
1.46
1.47 -static const TTraceName TRACENFO[] =
1.48 - {
1.49 - { CtxTest, 0x00000001, L"Test" },
1.50 - { CtxDevSound, 0x00000002, L"DevSound" },
1.51 - { CtxDsProxy, 0x00000004, L"DevSound proxy" },
1.52 - { CtxDsStarter, 0x00000008, L"DevSound starter" },
1.53 - { CtxDsServer, 0x00000010, L"DevSound server" },
1.54 - { CtxDsdaptation, 0x00000020, L"DevSound adaptation" },
1.55 - { CtxHwDevice, 0x00000040, L"HW device" },
1.56 - { CtxPolicyProxy, 0x00000080, L"Policy proxy" },
1.57 - { CtxPolicyServer, 0x00000100, L"Policy server" },
1.58 - { CtxPolicyCtrl, 0x00000200, L"Policy control" },
1.59 - { CtxMmRm, 0x00000400, L"Mm resource manager" },
1.60 - { CtxAudioServer, 0x00000800, L"Audio server" },
1.61 - { CtxAsProxy, 0x00001000, L"Audio server proxy" },
1.62 - { CtxAsServer, 0x00002000, L"Audio server server" },
1.63 - { CtxAsCtrl, 0x00004000, L"Audio server control" },
1.64 - { CtxAsEap, 0x00008000, L"Audio server EAP" },
1.65 - { CtxMdaif, 0x00010000, L"MDAIF" },
1.66 - { CtxAaMm, 0x00020000, L"Message mapper" },
1.67 - { CtxRadio, 0x00040000, L"Radio" }
1.68 - };
1.69 -
1.70 -#define CtxDefaultGroups _CtxDefaultGroups()
1.71 -
1.72 -
1.73 -inline TInt _CtxDefaultGroups()
1.74 - {
1.75 - return TRACENFO[CtxTest].iGrpId |
1.76 - TRACENFO[CtxDevSound].iGrpId |
1.77 - TRACENFO[CtxDsProxy].iGrpId |
1.78 - TRACENFO[CtxDsStarter].iGrpId |
1.79 - TRACENFO[CtxDsServer].iGrpId |
1.80 - TRACENFO[CtxDsdaptation].iGrpId |
1.81 - TRACENFO[CtxHwDevice].iGrpId |
1.82 - TRACENFO[CtxPolicyProxy].iGrpId |
1.83 - TRACENFO[CtxPolicyServer].iGrpId |
1.84 - TRACENFO[CtxPolicyCtrl].iGrpId |
1.85 - TRACENFO[CtxMmRm].iGrpId |
1.86 - TRACENFO[CtxAudioServer].iGrpId |
1.87 - TRACENFO[CtxAsProxy].iGrpId |
1.88 - TRACENFO[CtxAsServer].iGrpId |
1.89 - TRACENFO[CtxAsCtrl].iGrpId |
1.90 - TRACENFO[CtxAsEap].iGrpId |
1.91 - TRACENFO[CtxMdaif].iGrpId |
1.92 - TRACENFO[CtxAaMm].iGrpId |
1.93 - TRACENFO[CtxRadio].iGrpId;
1.94 - }
1.95 -
1.96 +#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
1.97 +#include <a3f/a3f_trace_ctxt_def.h>
1.98 +#endif
1.99 #endif // _A3F_TRACE_CTXT_H_
1.100
1.101 // End of File