equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 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 * This file is the direct implementation of the System Tone Service |
|
16 * API. This acts as a facade to the actual implementation logic |
|
17 * which is in the CStsImplementation class. |
|
18 */ |
|
19 |
|
20 #ifndef STSDEBUG_H |
|
21 #define STSDEBUG_H |
|
22 |
|
23 #ifdef _DEBUG |
|
24 #include <e32debug.h> |
|
25 #endif /*_DEBUG*/ |
|
26 |
|
27 #ifdef _DEBUG |
|
28 # define TRACE_FUNCTION_ENTRY RDebug::Printf( "%s >", __PRETTY_FUNCTION__) |
|
29 # define TRACE_FUNCTION_EXIT RDebug::Printf( "%s <", __PRETTY_FUNCTION__) |
|
30 # define TRACE_FUNCTION_ENTRY_EXIT RDebug::Printf( "%s ><", __PRETTY_FUNCTION__) |
|
31 # define TRACE_LOG(s) RDebug::Print s |
|
32 #else |
|
33 # define TRACE_FUNCTION_ENTRY |
|
34 # define TRACE_FUNCTION_EXIT |
|
35 # define TRACE_FUNCTION_ENTRY_EXIT |
|
36 # define TRACE_LOG |
|
37 #endif /* _DEBUG */ |
|
38 |
|
39 #endif /*STSDEBUG_H*/ |