diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-26 14:19:10 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-02-26 14:19:10 +0100 |
commit | d77c1c7db760ae21d703b8b0f129379e54918bf7 (patch) | |
tree | bfc3899c4e85c9c57924aa6cf2fe608ad7d86920 /apt-pkg/metaindex.h | |
parent | d31f807a8d3f031d5efc5c3be9b76f9a9ac22d5d (diff) |
metaindex: Add Origin, Label, Version, DefaultPin, ReleaseNotes members
These were hidden behind the d-pointer previously.
Diffstat (limited to 'apt-pkg/metaindex.h')
-rw-r--r-- | apt-pkg/metaindex.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/apt-pkg/metaindex.h b/apt-pkg/metaindex.h index 5e5efd5ff..015cb3621 100644 --- a/apt-pkg/metaindex.h +++ b/apt-pkg/metaindex.h @@ -44,6 +44,11 @@ protected: // parsed from a file std::string Suite; std::string Codename; + std::string Origin; + std::string Label; + std::string Version; + signed short DefaultPin; + std::string ReleaseNotes; time_t Date; time_t ValidUntil; bool SupportsAcquireByHash; @@ -105,12 +110,6 @@ public: virtual bool IsArchitectureSupported(std::string const &arch) const; virtual bool IsArchitectureAllSupportedFor(IndexTarget const &target) const; virtual bool HasSupportForComponent(std::string const &component) const; - // FIXME: should be members of the class on abi break - APT_HIDDEN void SetOrigin(std::string const &origin); - APT_HIDDEN void SetLabel(std::string const &label); - APT_HIDDEN void SetVersion(std::string const &version); - APT_HIDDEN void SetDefaultPin(signed short const defaultpin); - APT_HIDDEN void SetReleaseNotes(std::string const ¬es); }; #endif |