class pkgSourceList
{
public:
-
+
// List of supported source list types
class Type
{
public:
-
+
// Global list of Items supported
static Type **GlobalList;
static unsigned long GlobalListLen;
Type();
virtual ~Type() {};
};
-
+
typedef std::vector<metaIndex *>::const_iterator const_iterator;
-
+
protected:
std::vector<metaIndex *> SrcList;
// query last-modified time
time_t GetLastModifiedTime();
- // Add custom metaIndex (e.g. local files)
- void Add(metaIndex *mi) {
- SrcList.push_back(mi);
- }
-
pkgSourceList();
pkgSourceList(std::string File);
~pkgSourceList();