summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/news.h
blob: ae82bb7c0289d3794cbc76f8ebd276e14f65b041 (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
#ifndef GENTOOBROWSE_SERVICE_DEPEND_H
#define GENTOOBROWSE_SERVICE_DEPEND_H

#include <visibility.h>
#include <istream>
#include <vector>
#include <portage-models.h>
#include "utils/lexer.h"

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

			public:
				Gentoo::NewsItemPtr news;
				DLL_PUBLIC static Gentoo::NewsItemPtr parse(const gchar * string, size_t length);
		};
	}
}

#endif