1
0
espelhamento de https://github.com/quitesimpleorg/qsmaddy.git sincronizado 2024-11-24 08:12:37 +01:00
qsmaddy/include/maddy/lineparser.h

47 linhas
851 B
C
Original Visão normal Histórico

2017-12-25 12:22:35 +01:00
/*
* This project is licensed under the MIT license. For more information see the
* LICENSE file.
*/
#pragma once
// -----------------------------------------------------------------------------
#include <string>
// -----------------------------------------------------------------------------
namespace maddy {
// -----------------------------------------------------------------------------
/**
* LineParser
*
* @class
*/
class LineParser
{
public:
2018-10-25 17:45:52 +02:00
/**
* dtor
*
* @method
*/
virtual ~LineParser() {}
2017-12-25 12:22:35 +01:00
/**
* Parse
*
* From Markdown to HTML
*
* @method
* @param {std::string&} line The line to interpret
* @return {void}
*/
virtual void Parse(std::string& line) = 0;
}; // class LineParser
// -----------------------------------------------------------------------------
} // namespace maddy