summaryrefslogtreecommitdiff
path: root/backend/dl.h
blob: 600088d6cb0a07d41400b5b38b7ec5fc043b2881 (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 __SLACK_DL_H
#define __SLACK_DL_H

#include "pkgtools.h"

namespace slack {

class Dl final : public Pkgtools
{
public:
	Dl (const gchar *name, const gchar *mirror,
		guint8 order, const gchar *blacklist, gchar *index_file) noexcept;
	~Dl () noexcept;

	GSList *collect_cache_info (const gchar *tmpl) noexcept;
	void generate_cache (PkBackendJob *job, const gchar *tmpl) noexcept;

private:
	gchar *index_file;
};

}

#endif /* __SLACK_DL_H */