aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_repository.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-07-11 20:58:16 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-07-11 20:58:16 +0000
commit42688dafeb432ecf7698fb38afb86bbd8b6fb5a8 (patch)
tree87836a2d787471a9fb0dbbff989e975ff68d7614 /paludis/repositories/e/e_repository.hh
parent638098e0808eaf31a35f0ee8834ba5b528a68b48 (diff)
downloadpaludis-42688dafeb432ecf7698fb38afb86bbd8b6fb5a8.tar.gz
paludis-42688dafeb432ecf7698fb38afb86bbd8b6fb5a8.tar.xz
Use actions rather than repo methods
Diffstat (limited to 'paludis/repositories/e/e_repository.hh')
-rw-r--r--paludis/repositories/e/e_repository.hh15
1 files changed, 4 insertions, 11 deletions
diff --git a/paludis/repositories/e/e_repository.hh b/paludis/repositories/e/e_repository.hh
index b911c0324..ed8b9aba1 100644
--- a/paludis/repositories/e/e_repository.hh
+++ b/paludis/repositories/e/e_repository.hh
@@ -52,7 +52,6 @@ namespace paludis
public Repository,
public RepositoryMaskInterface,
public RepositoryUseInterface,
- public RepositoryInstallableInterface,
public RepositorySyncableInterface,
public RepositorySetsInterface,
public RepositoryEnvironmentVariableInterface,
@@ -62,7 +61,6 @@ namespace paludis
public RepositoryLicensesInterface,
public RepositoryEInterface,
public RepositoryHookInterface,
- public RepositoryPretendInterface,
public RepositoryQAInterface,
public tr1::enable_shared_from_this<ERepository>,
private PrivateImplementationPattern<ERepository>
@@ -121,10 +119,6 @@ namespace paludis
const PackageID &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
- /* RepositoryInstallableInterface */
-
- virtual void do_install(const tr1::shared_ptr<const PackageID> &, const InstallOptions &) const;
-
/* RepositoryEnvironmentVariableInterface */
virtual std::string get_environment_variable(
@@ -132,11 +126,6 @@ namespace paludis
const std::string & var) const
PALUDIS_ATTRIBUTE((warn_unused_result));
- /* RepositoryPretendInterface */
-
- virtual bool do_pretend(const tr1::shared_ptr<const PackageID> &) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
-
/* Repository */
virtual tr1::shared_ptr<const PackageIDSequence> do_package_ids(
@@ -159,6 +148,8 @@ namespace paludis
virtual bool do_has_category_named(const CategoryNamePart &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual bool do_some_ids_might_support_action(const SupportsActionTestBase &) const;
+
public:
virtual tr1::shared_ptr<const RepositoryInfo> info(bool verbose) const;
@@ -238,6 +229,8 @@ namespace paludis
void update_news() const;
const tr1::shared_ptr<const Layout> layout() const;
+ const tr1::shared_ptr<const ERepositoryEntries> entries() const;
+ const tr1::shared_ptr<const ERepositoryProfile> profile() const;
void regenerate_cache() const;
};