|
1 /* |
|
2 * Copyright (c) 2008 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: Implementation of ChspsLogBusRDebug. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "hspslogbusrdebug.h" |
|
20 #include <e32debug.h> |
|
21 |
|
22 //---------------------------------------------------------------------------- |
|
23 // ChspsLogBusRDebug::~ChspsLogBusRDebug |
|
24 // ---------------------------------------------------------------------------- |
|
25 // |
|
26 EXPORT_C ChspsLogBusRDebug::~ChspsLogBusRDebug() |
|
27 { |
|
28 } |
|
29 |
|
30 //---------------------------------------------------------------------------- |
|
31 // ChspsLogBusRDebug::NewL |
|
32 // ---------------------------------------------------------------------------- |
|
33 // |
|
34 EXPORT_C ChspsLogBusRDebug* ChspsLogBusRDebug::NewL() |
|
35 { |
|
36 ChspsLogBusRDebug* self=ChspsLogBusRDebug::NewLC(); |
|
37 CleanupStack::Pop(); // self; |
|
38 return self; |
|
39 } |
|
40 |
|
41 //---------------------------------------------------------------------------- |
|
42 // ChspsLogBusRDebug::NewLC |
|
43 // ---------------------------------------------------------------------------- |
|
44 // |
|
45 EXPORT_C ChspsLogBusRDebug* ChspsLogBusRDebug::NewLC() |
|
46 { |
|
47 ChspsLogBusRDebug* self = new (ELeave)ChspsLogBusRDebug(); |
|
48 CleanupStack::PushL(self); |
|
49 self->ConstructL(); |
|
50 return self; |
|
51 } |
|
52 |
|
53 //---------------------------------------------------------------------------- |
|
54 // ChspsLogBusRDebug::_LogText |
|
55 // ---------------------------------------------------------------------------- |
|
56 // |
|
57 #ifdef HSPS_BUILD_LOG_IMPLEMENTATION |
|
58 void ChspsLogBusRDebug::_LogText( const TDesC& aMessage) |
|
59 { |
|
60 RDebug::Print( aMessage ); |
|
61 } |
|
62 #else |
|
63 void ChspsLogBusRDebug::_LogText( const TDesC& /*aMessage*/) |
|
64 { |
|
65 } |
|
66 #endif |
|
67 |
|
68 //---------------------------------------------------------------------------- |
|
69 // ChspsLogBusRDebug::ChspsLogBusRDebug |
|
70 // ---------------------------------------------------------------------------- |
|
71 // |
|
72 ChspsLogBusRDebug::ChspsLogBusRDebug() |
|
73 { |
|
74 // No implementation required |
|
75 } |
|
76 |
|
77 //---------------------------------------------------------------------------- |
|
78 // ChspsLogBusRDebug::ConstructL |
|
79 // ---------------------------------------------------------------------------- |
|
80 // |
|
81 void ChspsLogBusRDebug::ConstructL() |
|
82 { |
|
83 } |