X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/484dbb814fd2b787b2206ffe9504798dfd73ae6c..1a68655de92fd036ebc7c920bc2e5e88c54eb34e:/apt-pkg/vendor.h?ds=sidebyside diff --git a/apt-pkg/vendor.h b/apt-pkg/vendor.h index 2d39fd15f..2d2e2b0ae 100644 --- a/apt-pkg/vendor.h +++ b/apt-pkg/vendor.h @@ -4,30 +4,33 @@ #include #include +#include +#ifndef APT_8_CLEANER_HEADERS using std::string; +#endif -// A class representing a particular software provider. -class Vendor +// A class representing a particular software provider. +class APT_DEPRECATED Vendor { public: struct Fingerprint { - string Print; - string Description; + std::string Print; + std::string Description; }; protected: - string VendorID; - string Origin; - std::map Fingerprints; + std::string VendorID; + std::string Origin; + std::map Fingerprints; public: - Vendor(string VendorID, string Origin, + Vendor(std::string VendorID, std::string Origin, std::vector *FingerprintList); - virtual const string& GetVendorID() const { return VendorID; }; - virtual const string LookupFingerprint(string Print) const; - virtual bool CheckDist(string Dist); + 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(){}; };