22 #ifndef PKGLIB_INDEXFILE_H
23 #define PKGLIB_INDEXFILE_H
28 #include <apt-pkg/srcrecords.h>
29 #include <apt-pkg/pkgrecords.h>
30 #include <apt-pkg/macros.h>
32 #ifndef APT_8_CLEANER_HEADERS
52 static Type **GlobalList;
53 static unsigned long GlobalListLen;
54 static Type *GetType(
const char *
Type);
63 virtual const Type *GetType()
const = 0;
69 virtual std::string Describe(
bool Short =
false)
const = 0;
72 virtual std::string ArchiveURI(std::string )
const {
return std::string();};
78 virtual bool Exists()
const = 0;
79 virtual bool HasPackages()
const = 0;
80 virtual unsigned long Size()
const = 0;
83 {
return Merge(Gen, &Prog); };
86 {
return MergeFileProvides(Gen, &Prog);};
89 static bool TranslationsAvailable();
90 static bool CheckLanguageCode(
const char *Lang);
91 static std::string LanguageCode();
93 bool IsTrusted()
const {
return Trusted; };
pkgCache - Structure definitions for the cache file
Definition: srcrecords.h:32
Definition: indexfile.h:40
Definition: pkgcache.h:86
Definition: progress.h:33
Definition: pkgrecords.h:46
The core download scheduler. {{{.
Definition: acquire.h:93
Definition: cacheiterators.h:352
Definition: srcrecords.h:41
Definition: indexfile.h:47
Definition: cacheiterators.h:185
Definition: pkgcachegen.h:34