os/graphics/windowing/windowserver/debuglog/DEBLOGSR.H
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 1995-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 // Class declaration for the serial device specific logging code
    15 // 
    16 //
    17 
    18 #if !defined(__DEBLOGSR_H__)
    19 #define __DEBLOGSR_H__
    20 
    21 #if !defined(__E32STD_H__)
    22 #include <e32std.h>
    23 #endif
    24 
    25 #if !defined(__DEBUGLOG_H__)
    26 #include "DEBUGLOG.H"
    27 #endif
    28 
    29 #if !defined(__D32COMM_H__)
    30 #include <d32comm.h>
    31 #endif
    32 
    33 class CDebugLogSerial: public CDebugLogDevice
    34 	{
    35 public:
    36 	CDebugLogSerial();
    37 	~CDebugLogSerial();
    38 	//Pure virtual functions from CDebugLogDevice
    39 	void ConstructL(TBool aIsFirst, TDesC &aParams);
    40 	void WriteToLogL(const TDesC &aDes, const TDesC &aDes2);
    41 	void WriteToLog8L(const TDesC8 &aDes, const TDesC8 &aDes2);
    42 private:
    43 	RBusDevComm iSerialPort;
    44 	};
    45 
    46 const TUint KHeapSize=0x8000;
    47 
    48 #endif
    49