summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/news.h
blob: 06106756eaa27c934c8d50818f31291f57ab2ec7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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> &);
	};
}