summaryrefslogtreecommitdiff
path: root/apt-pkg/vendorlist.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/vendorlist.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/vendorlist.h')
-rw-r--r--apt-pkg/vendorlist.h54
1 files changed, 0 insertions, 54 deletions
diff --git a/apt-pkg/vendorlist.h b/apt-pkg/vendorlist.h
deleted file mode 100644
index bc3702a93..000000000
--- a/apt-pkg/vendorlist.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// -*- mode: cpp; mode: fold -*-
-// Description /*{{{*/
-// $Id: vendorlist.h,v 1.1.2.1 2003/12/24 23:09:17 mdz Exp $
-/* ######################################################################
-
- VendorList - Manage a list of vendors
-
- The Vendor List class provides access to a list of vendors and
- attributes associated with them, read from a configuration file.
-
- ##################################################################### */
- /*}}}*/
-#ifndef PKGLIB_VENDORLIST_H
-#define PKGLIB_VENDORLIST_H
-
-#include <string>
-#include <vector>
-#include <apt-pkg/macros.h>
-
-#ifndef APT_8_CLEANER_HEADERS
-#include <apt-pkg/vendor.h>
-#include <apt-pkg/configuration.h>
-using std::string;
-using std::vector;
-#endif
-
-class Vendor;
-class Configuration;
-
-class APT_DEPRECATED pkgVendorList
-{
- protected:
- std::vector<Vendor const *> VendorList;
-
- bool CreateList(Configuration& Cnf);
- const Vendor* LookupFingerprint(std::string Fingerprint);
-
- public:
- typedef std::vector<Vendor const *>::const_iterator const_iterator;
- bool ReadMainList();
- bool Read(std::string File);
-
- // List accessors
- inline const_iterator begin() const {return VendorList.begin();};
- inline const_iterator end() const {return VendorList.end();};
- inline unsigned int size() const {return VendorList.size();};
- inline bool empty() const {return VendorList.empty();};
-
- const Vendor* FindVendor(const std::vector<std::string> GPGVOutput);
-
- ~pkgVendorList();
-};
-
-#endif