Update contrib.
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
21 // Make sure release builds get a warning if
23 #if (defined HALSETTINGS_TRACE)
24 #warning "Use of RDebug::Print tracing in a release build, check MMP files"
30 // MACROs for trace statements in client/server code.
33 #ifdef HALSETTINGS_TRACE
35 #define __HS_TRACE(_text) RDebug::Print(_L(_text))
36 #define __HS_TRACE1(_text, _a1) RDebug::Print(_L(_text), (_a1))
37 #define __HS_TRACE2(_text, _a1, _a2) RDebug::Print(_L(_text), (_a1), (_a2))
38 #define __HS_TRACE3(_text, _a1, _a2, _a3) RDebug::Print(_L(_text), (_a1), (_a2), (_a3))
39 #define __HS_TRACE4(_text, _a1, _a2, _a3, _a4) RDebug::Print(_L(_text), (_a1), (_a2), (_a3), (_a4))
40 #define __HS_TRACE5(_text, _a1, _a2, _a3, _a4, _a5) RDebug::Print(_L(_text), (_a1), (_a2), (_a3), (_a4), (_a5))
41 #define __HS_TRACE6(_text, _a1, _a2, _a3, _a4, _a5, _a6) RDebug::Print(_L(_text), (_a1), (_a2), (_a3), (_a4), (_a5), (_a6))
45 #define __HS_TRACE(_text)
46 #define __HS_TRACE1(_text, _a1)
47 #define __HS_TRACE2(_text, _a1, _a2)
48 #define __HS_TRACE3(_text, _a1, _a2, _a3)
49 #define __HS_TRACE4(_text, _a1, _a2, _a3, _a4)
50 #define __HS_TRACE5(_text, _a1, _a2, _a3, _a4, _a5)
51 #define __HS_TRACE6(_text, _a1, _a2, _a3, _a4, _a5, _a6)