summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/mask.h
blob: 08f534bbb145f170cdfb3f331da0457c149fe6dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

#include "wrap/ustring.h"
#include <c++11Helpers.h>
#include <lexer.h>
#include <list>
#include <optional>

namespace Portage::Utils {
	class Masks : public AdHoc::Lexer {
	protected:
		Masks();
		virtual ~Masks() = default;
		SPECIAL_MEMBERS_DEFAULT(Masks);

		virtual void consume() const = 0;

		Glib::ustring date;
		std::optional<Glib::ustring> person, email;
		std::set<std::string> atoms;
		std::list<std::string> message;
		int n {0};
	};
}