diff options
Diffstat (limited to 'backend/dl.h')
| -rw-r--r-- | backend/dl.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/backend/dl.h b/backend/dl.h new file mode 100644 index 0000000..600088d --- /dev/null +++ b/backend/dl.h @@ -0,0 +1,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 */ |
