#ifndef __SERIAL2HTML_H__
#define __SERIAL2HTML_H__
//-----------------------------------------------------------------------------
///
/// \brief  Ansi to HTML converter
///
///         see implementation for further information
///
/// \date   20150326
/// \author Maximilian Seesslen <development@seesslen.net>
///
//-----------------------------------------------------------------------------


//---Includes------------------------------------------------------------------


#include <lepto/ring.h>
//#include <lepto/can_message.h>

// TODO: check if Qstring was already implemented. Some QT-defines?
#if defined(STM32)
   #include <lepto/noqt.h>
   #include <lepto/string.h>

#else
   // Keep QT
   #include <QString>
   #include <QObject>
#endif

//---Declarations--------------------------------------------------------------


class CSerial2Can
      :public QObject
      ,public CRing<CCanMessage>
{
   Q_OBJECT

   private:


   public:
      CSerial2Can();
      void parseCan(const QString &_input);

   public slots:
      int slotOtherCOmmand(char,QString&);
};

//QString ansi2html(const QString &line);


//---fin----------------------------------------------------------------------
#endif // ? ! __SERIAL2HTML_H__
