summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/news.h
blob: 0d2e26f65a5092e43e9c28d3d29ad5e4431d2b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef GENTOOBROWSE_SERVICE_NEWS_H
#define GENTOOBROWSE_SERVICE_NEWS_H

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

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

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

#endif