summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/mask.h
blob: abdf6b014c2b7e037182510352f5fd548e97dbce (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
27
#ifndef GENTOOBROWSE_SERVICE_MASK_H
#define GENTOOBROWSE_SERVICE_MASK_H

#include "wrap/ustring.h"
#include <lexer.h>
#include <list>
#include <optional>

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

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

#endif