aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-06 16:51:19 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-06 16:51:19 +0100
commitcea9adc3df54e1bdeac88ff628cd91b53b9e549e (patch)
tree24ed874efc9139bc9184f24cbe0e7e360dc18a7d /paludis/repositories/virtuals
parent39d5d8c84aba37c41f0e689a544615bd21c5c60d (diff)
downloadpaludis-cea9adc3df54e1bdeac88ff628cd91b53b9e549e.tar.gz
paludis-cea9adc3df54e1bdeac88ff628cd91b53b9e549e.tar.xz
Framework for licence groups
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.hh3
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.cc6
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.hh3
4 files changed, 18 insertions, 0 deletions
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.cc b/paludis/repositories/virtuals/installed_virtuals_repository.cc
index 27de04c8f..70e3a9154 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.cc
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.cc
@@ -270,3 +270,9 @@ InstalledVirtualsRepository::sync_host_key() const
return make_null_shared_ptr();
}
+const std::shared_ptr<const Set<std::string> >
+InstalledVirtualsRepository::maybe_expand_licence_nonrecursively(const std::string &) const
+{
+ return make_null_shared_ptr();
+}
+
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.hh b/paludis/repositories/virtuals/installed_virtuals_repository.hh
index 88ff6bafc..49dc75e5e 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.hh
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.hh
@@ -106,6 +106,9 @@ namespace paludis
virtual bool sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> &) const;
+ virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const;
+
/* Keys */
virtual const std::shared_ptr<const MetadataValueKey<std::string> > format_key() const;
diff --git a/paludis/repositories/virtuals/virtuals_repository.cc b/paludis/repositories/virtuals/virtuals_repository.cc
index 8dcb6b3c0..e85fe848e 100644
--- a/paludis/repositories/virtuals/virtuals_repository.cc
+++ b/paludis/repositories/virtuals/virtuals_repository.cc
@@ -219,3 +219,9 @@ VirtualsRepository::sync_host_key() const
return make_null_shared_ptr();
}
+const std::shared_ptr<const Set<std::string> >
+VirtualsRepository::maybe_expand_licence_nonrecursively(const std::string &) const
+{
+ return make_null_shared_ptr();
+}
+
diff --git a/paludis/repositories/virtuals/virtuals_repository.hh b/paludis/repositories/virtuals/virtuals_repository.hh
index ba610a96c..09ea90cc6 100644
--- a/paludis/repositories/virtuals/virtuals_repository.hh
+++ b/paludis/repositories/virtuals/virtuals_repository.hh
@@ -76,6 +76,9 @@ namespace paludis
virtual const bool is_unimportant() const;
+ virtual const std::shared_ptr<const Set<std::string> > maybe_expand_licence_nonrecursively(
+ const std::string &) const;
+
/* Repository */
virtual std::shared_ptr<const PackageIDSequence> package_ids(