aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-09-02 19:16:30 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-09-02 19:16:30 +0000
commit978107dad062e022fc7b7403e4ce2fd470f7a760 (patch)
treef8ddff488203a2ac3bbb1e25f06b6c531eb1166a /paludis/repositories/fake
parentd4e6b01a56f4222e274d14633f363eb22fc6e370 (diff)
downloadpaludis-978107dad062e022fc7b7403e4ce2fd470f7a760.tar.gz
paludis-978107dad062e022fc7b7403e4ce2fd470f7a760.tar.xz
Tie package IDs and metadata keys to QA messages. Fixes: ticket:339
Diffstat (limited to 'paludis/repositories/fake')
-rw-r--r--paludis/repositories/fake/fake_package_id.cc6
-rw-r--r--paludis/repositories/fake/fake_package_id.hh1
2 files changed, 7 insertions, 0 deletions
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc
index 46d8a2f27..5716662bb 100644
--- a/paludis/repositories/fake/fake_package_id.cc
+++ b/paludis/repositories/fake/fake_package_id.cc
@@ -766,6 +766,12 @@ FakePackageID::contained_in_key() const
return tr1::shared_ptr<const MetadataPackageIDKey>();
}
+const tr1::shared_ptr<const MetadataFSEntryKey>
+FakePackageID::fs_location_key() const
+{
+ return tr1::shared_ptr<const MetadataFSEntryKey>();
+}
+
template class FakeMetadataSpecTreeKey<LicenseSpecTree>;
template class FakeMetadataSpecTreeKey<ProvideSpecTree>;
template class FakeMetadataSpecTreeKey<DependencySpecTree>;
diff --git a/paludis/repositories/fake/fake_package_id.hh b/paludis/repositories/fake/fake_package_id.hh
index c2c19b918..2a0d5ca6a 100644
--- a/paludis/repositories/fake/fake_package_id.hh
+++ b/paludis/repositories/fake/fake_package_id.hh
@@ -165,6 +165,7 @@ namespace paludis
virtual const tr1::shared_ptr<const MetadataStringKey> binary_origin_key() const;
virtual const tr1::shared_ptr<const MetadataSetKey<PackageIDSequence> > contains_key() const;
virtual const tr1::shared_ptr<const MetadataPackageIDKey> contained_in_key() const;
+ virtual const tr1::shared_ptr<const MetadataFSEntryKey> fs_location_key() const;
const tr1::shared_ptr<FakeMetadataKeywordSetKey> keywords_key();
const tr1::shared_ptr<FakeMetadataIUseSetKey> iuse_key();