aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/accounts/accounts_repository.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-27 22:08:29 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-02-28 15:31:18 +0000
commitbf9e33c1c76c2c2387ada7ae7294efa21a1c2f2f (patch)
treefe00ac0ca9434b268499b6380220140fc5e1a816 /paludis/repositories/accounts/accounts_repository.hh
parent761f72d25876dac3e239fad163123d35cacda4a0 (diff)
downloadpaludis-bf9e33c1c76c2c2387ada7ae7294efa21a1c2f2f.tar.gz
paludis-bf9e33c1c76c2c2387ada7ae7294efa21a1c2f2f.tar.xz
Allow repos to return partial results if faster
Diffstat (limited to 'paludis/repositories/accounts/accounts_repository.hh')
-rw-r--r--paludis/repositories/accounts/accounts_repository.hh14
1 files changed, 7 insertions, 7 deletions
diff --git a/paludis/repositories/accounts/accounts_repository.hh b/paludis/repositories/accounts/accounts_repository.hh
index 78d030791..3b8aff3f0 100644
--- a/paludis/repositories/accounts/accounts_repository.hh
+++ b/paludis/repositories/accounts/accounts_repository.hh
@@ -120,15 +120,15 @@ namespace paludis
///\{
virtual const bool is_unimportant() const;
- virtual bool has_category_named(const CategoryNamePart & c) const;
- virtual bool has_package_named(const QualifiedPackageName & q) const;
- virtual std::shared_ptr<const CategoryNamePartSet> category_names() const;
- virtual std::shared_ptr<const CategoryNamePartSet> unimportant_category_names() const;
+ virtual bool has_category_named(const CategoryNamePart & c, const RepositoryContentMayExcludes &) const;
+ virtual bool has_package_named(const QualifiedPackageName & q, const RepositoryContentMayExcludes &) const;
+ virtual std::shared_ptr<const CategoryNamePartSet> category_names(const RepositoryContentMayExcludes &) const;
+ virtual std::shared_ptr<const CategoryNamePartSet> unimportant_category_names(const RepositoryContentMayExcludes &) const;
virtual std::shared_ptr<const CategoryNamePartSet> category_names_containing_package(
- const PackageNamePart & p) const;
+ const PackageNamePart & p, const RepositoryContentMayExcludes &) const;
virtual std::shared_ptr<const QualifiedPackageNameSet> package_names(
- const CategoryNamePart & c) const;
- virtual std::shared_ptr<const PackageIDSequence> package_ids(const QualifiedPackageName & p) const;
+ const CategoryNamePart & c, const RepositoryContentMayExcludes &) const;
+ virtual std::shared_ptr<const PackageIDSequence> package_ids(const QualifiedPackageName & p, const RepositoryContentMayExcludes &) const;
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
virtual bool some_ids_might_not_be_masked() const;