Let's make (git) history!

Este commit está contenido en:
2018-11-03 17:12:20 +01:00
commit 3bfebfe8a8
Se han modificado 212 ficheros con 11970 adiciones y 0 borrados

18
iparser.h Archivo normal
Ver fichero

@@ -0,0 +1,18 @@
#ifndef IPARSER_H
#define IPARSER_H
#include <vector>
#include <string_view>
#include "headline.h"
#include "database/pagedao.h"
#include "urlprovider.h"
class IParser
{
public:
virtual std::vector<Headline> extractHeadlines(std::string content) const = 0;
virtual std::string parse(const PageDao &pagedao, UrlProvider &provider, std::string content) const = 0;
virtual std::vector<std::string> extractCategories(std::string content) const = 0;
virtual ~IParser(){};
};
#endif // PARSER_H