tracesrv/tracecore/btrace_handler/test/d_tracecore/inc/TraceCoreTestWriter.h
changeset 56 aa2539c91954
equal deleted inserted replaced
54:a151135b0cf9 56:aa2539c91954
       
     1 // Copyright (c) 2007-2010 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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 //
       
    16 
       
    17 #ifndef __TRACE_CORE_TEST_WRITER_H_INCLUDED__
       
    18 #define __TRACE_CORE_TEST_WRITER_H_INCLUDED__
       
    19 
       
    20 
       
    21 #include <kernel.h>
       
    22 
       
    23 #include "TestDataWriterNotifier.h"
       
    24 
       
    25 
       
    26 class DTestDataWriter;
       
    27 
       
    28 class DTraceCoreTestWriter  : public DBase 
       
    29     { 
       
    30 
       
    31 public:
       
    32     static DTraceCoreTestWriter* GetInstance();
       
    33     void SetNotifier(MTestWriterNotifier* aNotifier);
       
    34 
       
    35     virtual ~DTraceCoreTestWriter();
       
    36 
       
    37 private:
       
    38     TInt Init();    
       
    39     
       
    40     DTraceCoreTestWriter();
       
    41    
       
    42 private:
       
    43     DTestDataWriter* iDataWriter;
       
    44     static DTraceCoreTestWriter* iInstance;
       
    45 };
       
    46 
       
    47 #endif  // __TRACE_CORE_TEST_WRITER_H_INCLUDED__