lbs/lbstestutils/inc/ctdumper.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     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 the License "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalTechnology
       
    21  @test
       
    22 */
       
    23 
       
    24 #ifndef CTDUMPER_H
       
    25 #define CTDUMPER_H
       
    26 
       
    27 #include <e32base.h>
       
    28 
       
    29 #define LBSDUMPNEWLOG() 				CT_Dumper::OverWrite()
       
    30 #define LBSDUMP(L1) 					CT_Dumper::Write(_L(L1))
       
    31 #define LBSDUMP2(L1,L2) 				CT_Dumper::Write(_L(L1), L2)
       
    32 
       
    33 	
       
    34 /** Dumper used by the GPS module to dump the update array in a file.
       
    35 */
       
    36 class CT_Dumper : public CBase
       
    37 	{
       
    38 public:
       
    39 	IMPORT_C static void OverWrite();
       
    40 	IMPORT_C static void Write(TRefByValue<const TDesC16> aFmt, ...);
       
    41 	}; 
       
    42 
       
    43 #endif // CTDUMPER_H