summaryrefslogtreecommitdiff
path: root/apt-pkg/vendor.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-06-24 22:13:51 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-08-10 17:25:26 +0200
commit76b580bed96aaf0174ca81ba8ed2c4b54226ad85 (patch)
tree01a111a9c3ab8fa573665ddb3b5ad82d61203dd2 /apt-pkg/vendor.h
parentb0d408547734100bf86781615f546487ecf390d9 (diff)
remove the longtime deprecated vendor{,list} stuff
History suggests that this comes from an earlier apt-secure implementation, but never really became a thing, totally unused and marked as deprecated for "ages" now. Especially as it did nothing even if it would have been used (libapt itself didn't use it at all).
Diffstat (limited to 'apt-pkg/vendor.h')
-rw-r--r--apt-pkg/vendor.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/apt-pkg/vendor.h b/apt-pkg/vendor.h
deleted file mode 100644
index 2d2e2b0ae..000000000
--- a/apt-pkg/vendor.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef PKGLIB_VENDOR_H
-#define PKGLIB_VENDOR_H
-#include <string>
-#include <vector>
-#include <map>
-
-#include <apt-pkg/macros.h>
-
-#ifndef APT_8_CLEANER_HEADERS
-using std::string;
-#endif
-
-// A class representing a particular software provider.
-class APT_DEPRECATED Vendor
-{
- public:
- struct Fingerprint
- {
- std::string Print;
- std::string Description;
- };
-
- protected:
- std::string VendorID;
- std::string Origin;
- std::map<std::string, std::string> Fingerprints;
-
- public:
- Vendor(std::string VendorID, std::string Origin,
- std::vector<struct Fingerprint *> *FingerprintList);
- virtual const std::string& GetVendorID() const { return VendorID; };
- virtual const std::string LookupFingerprint(std::string Print) const;
- virtual bool CheckDist(std::string Dist);
- virtual ~Vendor(){};
-};
-
-#endif