Add currently existing PackageKit backend
Some checks failed
Test / build (push) Failing after 27s

This commit is contained in:
2026-02-03 14:50:26 +01:00
parent da02080fc1
commit 97efcb4faa
19 changed files with 2846 additions and 0 deletions

24
backend/dl.h Normal file
View File

@@ -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 */