aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-21 19:04:21 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-21 19:04:21 +0100
commitb5b70753c4185b07ec85bfbd0587078ca29552a0 (patch)
tree584424f0c8581b7931ab6a4bae2eeea3c5dfbcb8 /paludis/repositories/virtuals
parent6ad3da4d54ab976085c8f1d38629f7cfb3b5b3f3 (diff)
downloadpaludis-b5b70753c4185b07ec85bfbd0587078ca29552a0.tar.gz
paludis-b5b70753c4185b07ec85bfbd0587078ca29552a0.tar.xz
Repository::some_ids_might_not_be_masked
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.hh4
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.cc6
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.hh4
4 files changed, 18 insertions, 2 deletions
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.cc b/paludis/repositories/virtuals/installed_virtuals_repository.cc
index 7fc615f8c..b045bfc4e 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.cc
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.cc
@@ -300,6 +300,12 @@ InstalledVirtualsRepository::some_ids_might_support_action(const SupportsActionT
return a.accept_returning<bool>(q);
}
+bool
+InstalledVirtualsRepository::some_ids_might_not_be_masked() const
+{
+ return true;
+}
+
std::tr1::shared_ptr<const CategoryNamePartSet>
InstalledVirtualsRepository::unimportant_category_names() const
{
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.hh b/paludis/repositories/virtuals/installed_virtuals_repository.hh
index 91776394c..9deae5f05 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.hh
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2006, 2007, 2008, 2009 Ciaran McCreesh
+ * Copyright (c) 2006, 2007, 2008, 2009, 2010 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -108,6 +108,8 @@ namespace paludis
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ virtual bool some_ids_might_not_be_masked() const;
+
virtual bool sync(const std::tr1::shared_ptr<OutputManager> &) const;
/* Keys */
diff --git a/paludis/repositories/virtuals/virtuals_repository.cc b/paludis/repositories/virtuals/virtuals_repository.cc
index cb0ce8578..a5bbb366c 100644
--- a/paludis/repositories/virtuals/virtuals_repository.cc
+++ b/paludis/repositories/virtuals/virtuals_repository.cc
@@ -400,6 +400,12 @@ VirtualsRepository::some_ids_might_support_action(const SupportsActionTestBase &
return a.accept_returning<bool>(q);
}
+bool
+VirtualsRepository::some_ids_might_not_be_masked() const
+{
+ return true;
+}
+
std::tr1::shared_ptr<const CategoryNamePartSet>
VirtualsRepository::unimportant_category_names() const
{
diff --git a/paludis/repositories/virtuals/virtuals_repository.hh b/paludis/repositories/virtuals/virtuals_repository.hh
index 2071554d2..d488c99f2 100644
--- a/paludis/repositories/virtuals/virtuals_repository.hh
+++ b/paludis/repositories/virtuals/virtuals_repository.hh
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2006, 2007, 2008, 2009 Ciaran McCreesh
+ * Copyright (c) 2006, 2007, 2008, 2009, 2010 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -105,6 +105,8 @@ namespace paludis
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ virtual bool some_ids_might_not_be_masked() const;
+
virtual bool sync(const std::tr1::shared_ptr<OutputManager> &) const;
/* RepositoryMakeVirtualsInterface */