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

#include "portage-models.h"
#include <lexer.h>
#include <string_view>

// IWYU pragma: no_include <glib.h>

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

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