]> git.saurik.com Git - apt.git/blame - apt-pkg/vendor.h
fix the operator++ implementations in the cachesets
[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 8
8f3ba4e8 9// A class representing a particular software provider.
82b6682a 10class __deprecated Vendor
b3d44315
MV
11{
12 public:
13 struct Fingerprint
14 {
8f3ba4e8
DK
15 std::string Print;
16 std::string Description;
b3d44315
MV
17 };
18
19 protected:
8f3ba4e8
DK
20 std::string VendorID;
21 std::string Origin;
22 std::map<std::string, std::string> Fingerprints;
b3d44315
MV
23
24 public:
8f3ba4e8 25 Vendor(std::string VendorID, std::string Origin,
b3d44315 26 std::vector<struct Fingerprint *> *FingerprintList);
8f3ba4e8
DK
27 virtual const std::string& GetVendorID() const { return VendorID; };
28 virtual const std::string LookupFingerprint(std::string Print) const;
29 virtual bool CheckDist(std::string Dist);
b3d44315
MV
30 virtual ~Vendor(){};
31};
32
33#endif