sl@0: /* sl@0: * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: /** sl@0: * @file sl@0: * @internalTechnology sl@0: */ sl@0: sl@0: #ifndef _A3F_TRACE_CTXT_DEF_H_ sl@0: #define _A3F_TRACE_CTXT_DEF_H_ sl@0: sl@0: // MACROS sl@0: //#define DISABLE_SYNTAX_CHECK sl@0: #define DISABLE_GROUP_CHECKS sl@0: sl@0: struct TTraceName sl@0: { sl@0: const TUint32 iId; sl@0: const TUint32 iGrpId; sl@0: #ifdef __WINS__ sl@0: const TText16* const iName; sl@0: #else sl@0: const wchar_t* const iName; sl@0: #endif sl@0: }; sl@0: sl@0: static const TTraceName TRACENFO[] = sl@0: { sl@0: { CtxTest, 0x00000001, L"Test" }, sl@0: { CtxDevSound, 0x00000002, L"DevSound" }, sl@0: { CtxDsProxy, 0x00000004, L"DevSound proxy" }, sl@0: { CtxDsStarter, 0x00000008, L"DevSound starter" }, sl@0: { CtxDsServer, 0x00000010, L"DevSound server" }, sl@0: { CtxDsdaptation, 0x00000020, L"DevSound adaptation" }, sl@0: { CtxHwDevice, 0x00000040, L"HW device" }, sl@0: { CtxPolicyProxy, 0x00000080, L"Policy proxy" }, sl@0: { CtxPolicyServer, 0x00000100, L"Policy server" }, sl@0: { CtxPolicyCtrl, 0x00000200, L"Policy control" }, sl@0: { CtxMmRm, 0x00000400, L"Mm resource manager" }, sl@0: { CtxAudioServer, 0x00000800, L"Audio server" }, sl@0: { CtxAsProxy, 0x00001000, L"Audio server proxy" }, sl@0: { CtxAsServer, 0x00002000, L"Audio server server" }, sl@0: { CtxAsCtrl, 0x00004000, L"Audio server control" }, sl@0: { CtxAsEap, 0x00008000, L"Audio server EAP" }, sl@0: { CtxMdaif, 0x00010000, L"MDAIF" }, sl@0: { CtxAaMm, 0x00020000, L"Message mapper" }, sl@0: { CtxRadio, 0x00040000, L"Radio" } sl@0: }; sl@0: sl@0: #define CtxDefaultGroups _CtxDefaultGroups() sl@0: sl@0: sl@0: inline TInt _CtxDefaultGroups() sl@0: { sl@0: return TRACENFO[CtxTest].iGrpId | sl@0: TRACENFO[CtxDevSound].iGrpId | sl@0: TRACENFO[CtxDsProxy].iGrpId | sl@0: TRACENFO[CtxDsStarter].iGrpId | sl@0: TRACENFO[CtxDsServer].iGrpId | sl@0: TRACENFO[CtxDsdaptation].iGrpId | sl@0: TRACENFO[CtxHwDevice].iGrpId | sl@0: TRACENFO[CtxPolicyProxy].iGrpId | sl@0: TRACENFO[CtxPolicyServer].iGrpId | sl@0: TRACENFO[CtxPolicyCtrl].iGrpId | sl@0: TRACENFO[CtxMmRm].iGrpId | sl@0: TRACENFO[CtxAudioServer].iGrpId | sl@0: TRACENFO[CtxAsProxy].iGrpId | sl@0: TRACENFO[CtxAsServer].iGrpId | sl@0: TRACENFO[CtxAsCtrl].iGrpId | sl@0: TRACENFO[CtxAsEap].iGrpId | sl@0: TRACENFO[CtxMdaif].iGrpId | sl@0: TRACENFO[CtxAaMm].iGrpId | sl@0: TRACENFO[CtxRadio].iGrpId; sl@0: } sl@0: sl@0: #endif // _A3F_TRACE_CTXT_DEF_H_ sl@0: sl@0: // End of File