aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-07-14 03:05:23 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-07-14 03:13:56 +0100
commit341b41e24bee6e73f874f61085036d111384fd06 (patch)
treedee845eb723ec6335caa89bce1b30c52420b2f13
parent9e23bcba99373e0a9ac543b3aa8b035b20adf62c (diff)
downloadpaludis-341b41e24bee6e73f874f61085036d111384fd06.tar.gz
paludis-341b41e24bee6e73f874f61085036d111384fd06.tar.xz
Update virtuals for previous (continued)
-rw-r--r--paludis/repositories/virtuals/package_id.cc12
-rw-r--r--paludis/repositories/virtuals/package_id.hh3
2 files changed, 4 insertions, 11 deletions
diff --git a/paludis/repositories/virtuals/package_id.cc b/paludis/repositories/virtuals/package_id.cc
index bb598ad..16bb556 100644
--- a/paludis/repositories/virtuals/package_id.cc
+++ b/paludis/repositories/virtuals/package_id.cc
@@ -318,16 +318,10 @@ VirtualsPackageID::installed_time_key() const
return std::tr1::shared_ptr<const MetadataTimeKey>();
}
-const std::tr1::shared_ptr<const MetadataValueKey<std::string> >
-VirtualsPackageID::source_origin_key() const
+const std::tr1::shared_ptr<const MetadataCollectionKey<Set<std::string> > >
+VirtualsPackageID::from_repositories_key() const
{
- return std::tr1::shared_ptr<const MetadataValueKey<std::string> >();
-}
-
-const std::tr1::shared_ptr<const MetadataValueKey<std::string> >
-VirtualsPackageID::binary_origin_key() const
-{
- return std::tr1::shared_ptr<const MetadataValueKey<std::string> >();
+ return std::tr1::shared_ptr<const MetadataCollectionKey<Set<std::string> > >();
}
bool
diff --git a/paludis/repositories/virtuals/package_id.hh b/paludis/repositories/virtuals/package_id.hh
index 704fb22..d5b9104 100644
--- a/paludis/repositories/virtuals/package_id.hh
+++ b/paludis/repositories/virtuals/package_id.hh
@@ -97,12 +97,11 @@ namespace paludis
virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > long_description_key() const;
virtual const std::tr1::shared_ptr<const MetadataValueKey<std::tr1::shared_ptr<const Contents> > > contents_key() const;
virtual const std::tr1::shared_ptr<const MetadataTimeKey> installed_time_key() const;
- virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > source_origin_key() const;
- virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > binary_origin_key() const;
virtual const std::tr1::shared_ptr<const MetadataCollectionKey<PackageIDSequence> > contains_key() const;
virtual const std::tr1::shared_ptr<const MetadataValueKey<std::tr1::shared_ptr<const PackageID> > > contained_in_key() const;
virtual const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > fs_location_key() const;
virtual const std::tr1::shared_ptr<const MetadataValueKey<bool> > transient_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataCollectionKey<Set<std::string> > > from_repositories_key() const;
virtual bool supports_action(const SupportsActionTestBase &) const PALUDIS_ATTRIBUTE((warn_unused_result));
virtual void perform_action(Action &) const;