os/graphics/windowing/windowserver/test/t_genericplugin/inc/t_logfile.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 // Copyright (c) 2008-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  @test
    19  @internalComponent
    20 */
    21 
    22 #ifndef __LOGFILE_H__
    23 #define __LOGFILE_H__
    24 
    25 #include <e32std.h>
    26 #include <f32file.h>
    27 #include "t_wservgenericpluginconsts.h"
    28 
    29 class CLogFile: public CBase
    30 	{
    31 public:
    32 	CLogFile();
    33 	~CLogFile();
    34 	static CLogFile* NewL();
    35 	void ConstructL();
    36 	void WriteToLogL(const TDesC& aDes);
    37 	static void DeleteLogFileL();
    38 private:
    39 	TBuf8<2> iEol8;
    40 	RFs iFs;
    41 	RFile iFile;
    42 	};
    43 
    44 #endif
    45