aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-08-13 17:53:38 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-08-16 12:34:24 +0100
commit06ddd80d20cd401e9c35508d4a3dec728c1db556 (patch)
treea118dc979abff31bf0c5d76fa20369c0c1985b22 /paludis/repositories/virtuals
parent1942ce8358ed3c2e11471bf4c780fc23e37edca5 (diff)
downloadpaludis-06ddd80d20cd401e9c35508d4a3dec728c1db556.tar.gz
paludis-06ddd80d20cd401e9c35508d4a3dec728c1db556.tar.xz
Add Repository::location_key.
Diffstat (limited to 'paludis/repositories/virtuals')
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.cc6
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.hh1
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.cc6
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.hh1
4 files changed, 14 insertions, 0 deletions
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.cc b/paludis/repositories/virtuals/installed_virtuals_repository.cc
index c402aff02..f485d303d 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.cc
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.cc
@@ -322,6 +322,12 @@ InstalledVirtualsRepository::format_key() const
}
const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> >
+InstalledVirtualsRepository::location_key() const
+{
+ return std::tr1::shared_ptr<const MetadataValueKey<FSEntry> >();
+}
+
+const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> >
InstalledVirtualsRepository::installed_root_key() const
{
return _imp->root_key;
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.hh b/paludis/repositories/virtuals/installed_virtuals_repository.hh
index 93ba80afd..b9f7ef94e 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.hh
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.hh
@@ -109,6 +109,7 @@ namespace paludis
/* Keys */
virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > location_key() const;
virtual const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > installed_root_key() const;
};
}
diff --git a/paludis/repositories/virtuals/virtuals_repository.cc b/paludis/repositories/virtuals/virtuals_repository.cc
index addb771d1..b1521d386 100644
--- a/paludis/repositories/virtuals/virtuals_repository.cc
+++ b/paludis/repositories/virtuals/virtuals_repository.cc
@@ -420,6 +420,12 @@ VirtualsRepository::format_key() const
}
const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> >
+VirtualsRepository::location_key() const
+{
+ return std::tr1::shared_ptr<const MetadataValueKey<FSEntry> >();
+}
+
+const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> >
VirtualsRepository::installed_root_key() const
{
return std::tr1::shared_ptr<const MetadataValueKey<FSEntry> >();
diff --git a/paludis/repositories/virtuals/virtuals_repository.hh b/paludis/repositories/virtuals/virtuals_repository.hh
index 5c67c78cf..ce7e26ef3 100644
--- a/paludis/repositories/virtuals/virtuals_repository.hh
+++ b/paludis/repositories/virtuals/virtuals_repository.hh
@@ -112,6 +112,7 @@ namespace paludis
/* Keys */
virtual const std::tr1::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
+ virtual const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > location_key() const;
virtual const std::tr1::shared_ptr<const MetadataValueKey<FSEntry> > installed_root_key() const;
};
}