aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_repository_base.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/fake/fake_repository_base.hh')
-rw-r--r--paludis/repositories/fake/fake_repository_base.hh21
1 files changed, 7 insertions, 14 deletions
diff --git a/paludis/repositories/fake/fake_repository_base.hh b/paludis/repositories/fake/fake_repository_base.hh
index 136530a8a..b2548b59b 100644
--- a/paludis/repositories/fake/fake_repository_base.hh
+++ b/paludis/repositories/fake/fake_repository_base.hh
@@ -44,7 +44,6 @@ namespace paludis
*/
class PALUDIS_VISIBLE FakeRepositoryBase :
public Repository,
- public RepositorySetsInterface,
private PrivateImplementationPattern<FakeRepositoryBase>,
public std::tr1::enable_shared_from_this<FakeRepositoryBase>
{
@@ -90,11 +89,6 @@ namespace paludis
std::tr1::shared_ptr<FakePackageID> add_version(const std::string & c, const std::string & p,
const std::string & v);
- /**
- * Add a package set.
- */
- void add_package_set(const SetName &, const std::tr1::shared_ptr<const SetSpecTree> &);
-
virtual void invalidate();
virtual void invalidate_masks();
@@ -104,14 +98,6 @@ namespace paludis
*/
const Environment * environment() const;
- /* RepositorySetsInterface */
-
- virtual const std::tr1::shared_ptr<const SetSpecTree> package_set(const SetName & id) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
-
- virtual std::tr1::shared_ptr<const SetNameSet> sets_list() const
- PALUDIS_ATTRIBUTE((warn_unused_result));
-
/* Repository */
virtual std::tr1::shared_ptr<const PackageIDSequence> package_ids(
@@ -130,6 +116,13 @@ namespace paludis
virtual bool has_category_named(const CategoryNamePart &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
+
+ ///\name Set methods
+ ///\{
+
+ virtual void populate_sets() const;
+
+ ///\}
};
}