summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/mask.h
blob: 195ef72ef1f1593cd74f810b1000c3e801a2fc2c (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
25
26
#pragma once

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

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};
	};
}