Mirror von
https://github.com/quitesimpleorg/qsmaddy.git
synchronisiert 2024-12-23 11:49:48 +01:00
40 Zeilen
783 B
C
40 Zeilen
783 B
C
|
/*
|
||
|
* 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:
|
||
|
/**
|
||
|
* 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
|