16 lines
344 B
C++
16 lines
344 B
C++
#ifndef CHECKS_PARSER_EMAIL_PARSER
|
|
#define CHECKS_PARSER_EMAIL_PARSER
|
|
|
|
#include <check/check.h>
|
|
#include <map>
|
|
|
|
class EmailParser {
|
|
public:
|
|
EmailParser();
|
|
std::map<std::string, std::string> parse(std::string &email_content);
|
|
std::map<std::string, std::string> parse_file(std::string path);
|
|
|
|
};
|
|
|
|
#endif // CHECKS_PARSER_EMAIL_PARSER
|