51
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 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 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef MEMSPYENGINEOUTPUTSINKDEBUG_H
|
|
19 |
#define MEMSPYENGINEOUTPUTSINKDEBUG_H
|
|
20 |
|
|
21 |
// System includes
|
|
22 |
#include <e32base.h>
|
|
23 |
|
|
24 |
// User includes
|
|
25 |
#include <memspy/engine/memspyengineoutputsink.h>
|
|
26 |
|
|
27 |
// Classes referenced
|
|
28 |
class CMemSpyEngine;
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
NONSHARABLE_CLASS( CMemSpyEngineOutputSinkDebug ) : public CMemSpyEngineOutputSink
|
|
33 |
{
|
|
34 |
public:
|
|
35 |
static CMemSpyEngineOutputSinkDebug* NewL( CMemSpyEngine& aEngine );
|
|
36 |
~CMemSpyEngineOutputSinkDebug();
|
|
37 |
|
|
38 |
public:
|
|
39 |
CMemSpyEngineOutputSinkDebug( CMemSpyEngine& aEngine );
|
|
40 |
void ConstructL();
|
|
41 |
|
|
42 |
private: // From CMemSpyEngineOutputSink
|
|
43 |
TMemSpySinkType Type() const;
|
|
44 |
void DataStreamBeginL( const TDesC& aContext, const TDesC& aFolder, const TDesC& aExtension );
|
|
45 |
void DataStreamBeginL( const TDesC& aContext, const TDesC& aFolder, const TDesC& aExtension, TBool aOverwrite );
|
|
46 |
void DataStreamBeginL( const TDesC& aContext, const TDesC& aFolder, const TDesC& aExtension, TBool aOverwrite, TBool aUseTimeStamp );
|
|
47 |
void DataStreamEndL();
|
|
48 |
void DoOutputLineL( const TDesC& aLine );
|
|
49 |
void DoOutputRawL( const TDesC8& aData );
|
62
|
50 |
void FlushL();
|
51
|
51 |
};
|
|
52 |
|
|
53 |
|
|
54 |
|
62
|
55 |
#endif
|