summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/news.h
blob: d13263c8179abf2abeddfe8688c114f08d4156a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <istream>
#include <lexer.h>
#include <portage-models.h>
#include <vector>

namespace Portage::Utils {
	class News : AdHoc::Lexer {
	private:
		News();

	public:
		Gentoo::NewsItemPtr news;
		static Gentoo::NewsItemPtr parse(const std::basic_string_view<gchar> &);
	};
}