os/persistentdata/traceservices/tracefw/ulogger/src/outfrwkchans/serial/uloggerserialplugin.h
Update contrib.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // ULogger serial plugin header file
24 #ifndef ULOGGERSERIALPLUGIN_H
25 #define ULOGGERSERIALPLUGIN_H
27 #include "uloggeroutputplugin.h"
28 #include <d32comm.h> // RBusDevComm
33 class CSerialWriter : public CPlugin, public MOutputPlugin
36 static CSerialWriter* NewL();
38 public://from MOutputPlugin
39 TInt ConfigureOutputPlugin(const RPointerArray<TPluginConfiguration>& aSettings);
40 TInt Write(const TDesC8& aData);
41 void CloseOutputPlugin();
42 public: //from CPlugin
43 TAny* GetInterfaceL(TPluginInterface aInterfaceId);
57 #endif // ULOGGERSERIALPLUGIN_H