aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-10-17 11:37:12 +0000
committerAvatar Piotr Jaroszyński <peper@gentoo.org> 2007-10-17 11:37:12 +0000
commitb4413e24cae6c930c94a8b6eb8d2a80153b8c998 (patch)
tree1e3072970f9e9f216f1b2c9a37d1d00e264424d5
parent420df001fecba53ad9cd81cffaa65be2f87725bb (diff)
downloadpaludis-b4413e24cae6c930c94a8b6eb8d2a80153b8c998.tar.gz
paludis-b4413e24cae6c930c94a8b6eb8d2a80153b8c998.tar.xz
Old style virtuals are not important either.
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.cc8
-rw-r--r--paludis/repositories/virtuals/installed_virtuals_repository.hh2
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.cc8
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.hh2
4 files changed, 19 insertions, 1 deletions
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.cc b/paludis/repositories/virtuals/installed_virtuals_repository.cc
index fa8f2aa..594a0bd 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.cc
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.cc
@@ -328,4 +328,10 @@ InstalledVirtualsRepository::do_some_ids_might_support_action(const SupportsActi
return q.result;
}
-
+tr1::shared_ptr<const CategoryNamePartSet>
+InstalledVirtualsRepository::unimportant_category_names() const
+{
+ tr1::shared_ptr<CategoryNamePartSet> result(make_shared_ptr(new CategoryNamePartSet));
+ result->insert(CategoryNamePart("virtual"));
+ return result;
+}
diff --git a/paludis/repositories/virtuals/installed_virtuals_repository.hh b/paludis/repositories/virtuals/installed_virtuals_repository.hh
index ab08536..b27d278 100644
--- a/paludis/repositories/virtuals/installed_virtuals_repository.hh
+++ b/paludis/repositories/virtuals/installed_virtuals_repository.hh
@@ -86,6 +86,8 @@ namespace paludis
Environment * const env,
tr1::shared_ptr<const Map<std::string, std::string> >);
+ virtual tr1::shared_ptr<const CategoryNamePartSet> unimportant_category_names() const;
+
virtual void invalidate();
virtual void invalidate_masks();
diff --git a/paludis/repositories/virtuals/virtuals_repository.cc b/paludis/repositories/virtuals/virtuals_repository.cc
index f10af86..e47fc45 100644
--- a/paludis/repositories/virtuals/virtuals_repository.cc
+++ b/paludis/repositories/virtuals/virtuals_repository.cc
@@ -406,3 +406,11 @@ VirtualsRepository::do_some_ids_might_support_action(const SupportsActionTestBas
return q.result;
}
+tr1::shared_ptr<const CategoryNamePartSet>
+VirtualsRepository::unimportant_category_names() const
+{
+ tr1::shared_ptr<CategoryNamePartSet> result(make_shared_ptr(new CategoryNamePartSet));
+ result->insert(CategoryNamePart("virtual"));
+ return result;
+}
+
diff --git a/paludis/repositories/virtuals/virtuals_repository.hh b/paludis/repositories/virtuals/virtuals_repository.hh
index eeb6d9a..36c4960 100644
--- a/paludis/repositories/virtuals/virtuals_repository.hh
+++ b/paludis/repositories/virtuals/virtuals_repository.hh
@@ -86,6 +86,8 @@ namespace paludis
Environment * const env,
tr1::shared_ptr<const Map<std::string, std::string> >);
+ virtual tr1::shared_ptr<const CategoryNamePartSet> unimportant_category_names() const;
+
virtual void invalidate();
virtual void invalidate_masks();