lbstest/lbstestproduct/lbstestutils/inc/ctdumper.h
changeset 0 9cfd9a3ee49c
equal deleted inserted replaced
-1:000000000000 0:9cfd9a3ee49c
       
     1 // Copyright (c) 2007-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalTechnology
       
    19  @test
       
    20 */
       
    21 
       
    22 #ifndef CTDUMPER_H
       
    23 #define CTDUMPER_H
       
    24 
       
    25 #include <e32base.h>
       
    26 
       
    27 #define LBSDUMPNEWLOG() 				CT_Dumper::OverWrite()
       
    28 #define LBSDUMP(L1) 					CT_Dumper::Write(_L(L1))
       
    29 #define LBSDUMP2(L1,L2) 				CT_Dumper::Write(_L(L1), L2)
       
    30 
       
    31 	
       
    32 /** Dumper used by the GPS module to dump the update array in a file.
       
    33 */
       
    34 class CT_Dumper : public CBase
       
    35 	{
       
    36 public:
       
    37 	IMPORT_C static void OverWrite();
       
    38 	IMPORT_C static void Write(TRefByValue<const TDesC16> aFmt, ...);
       
    39 	}; 
       
    40 
       
    41 #endif // CTDUMPER_H