]> git.saurik.com Git - apt.git/blame - apt-pkg/vendor.h
add the methods we will need to write to make working with EDSP possible
[apt.git] / apt-pkg / vendor.h
CommitLineData
b3d44315
MV
1#ifndef PKGLIB_VENDOR_H
2#define PKGLIB_VENDOR_H
3#include <string>
4#include <vector>
5#include <map>
6
82b6682a 7#include <apt-pkg/macros.h>
b3d44315
MV
8
9using std::string;
10
11// A class representing a particular software provider.
82b6682a 12class __deprecated Vendor
b3d44315
MV
13{
14 public:
15 struct Fingerprint
16 {
17 string Print;
18 string Description;
19 };
20
21 protected:
22 string VendorID;
23 string Origin;
24 std::map<string, string> Fingerprints;
25
26 public:
27 Vendor(string VendorID, string Origin,
28 std::vector<struct Fingerprint *> *FingerprintList);
29 virtual const string& GetVendorID() const { return VendorID; };
30 virtual const string LookupFingerprint(string Print) const;
31 virtual bool CheckDist(string Dist);
32 virtual ~Vendor(){};
33};
34
35#endif