aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-14 19:28:18 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-10-14 19:28:18 +0100
commit6945cb45acb4f215f347cc0bbc7a55d10ea054b1 (patch)
tree689c5c44aa862ba52ced033e0fd6c812d58a171b /paludis/repositories/e
parent4a87c6e9793486c94d9123110b12bd0c51bdd15e (diff)
downloadpaludis-6945cb45acb4f215f347cc0bbc7a55d10ea054b1.tar.gz
paludis-6945cb45acb4f215f347cc0bbc7a55d10ea054b1.tar.xz
Hooks don't need an interface.
Diffstat (limited to 'paludis/repositories/e')
-rw-r--r--paludis/repositories/e/e_installed_repository.hh9
-rw-r--r--paludis/repositories/e/e_repository.cc1
-rw-r--r--paludis/repositories/e/e_repository.hh1
-rw-r--r--paludis/repositories/e/exndbam_repository.cc1
-rw-r--r--paludis/repositories/e/vdb_repository.cc1
5 files changed, 3 insertions, 10 deletions
diff --git a/paludis/repositories/e/e_installed_repository.hh b/paludis/repositories/e/e_installed_repository.hh
index 4b9660c78..76427b09d 100644
--- a/paludis/repositories/e/e_installed_repository.hh
+++ b/paludis/repositories/e/e_installed_repository.hh
@@ -45,7 +45,6 @@ namespace paludis
public Repository,
public RepositoryEnvironmentVariableInterface,
public RepositoryDestinationInterface,
- public RepositoryHookInterface,
private PrivateImplementationPattern<EInstalledRepository>
{
private:
@@ -74,17 +73,15 @@ namespace paludis
virtual bool want_pre_post_phases() const
PALUDIS_ATTRIBUTE((warn_unused_result));
- /* RepositoryHookInterface */
-
- virtual HookResult perform_hook(const Hook & hook) const
- PALUDIS_ATTRIBUTE((warn_unused_result));
-
/* Repository */
virtual std::tr1::shared_ptr<const CategoryNamePartSet> unimportant_category_names() const;
virtual bool some_ids_might_support_action(const SupportsActionTestBase &) const;
+ virtual HookResult perform_hook(const Hook & hook) const
+ PALUDIS_ATTRIBUTE((warn_unused_result));
+
///\name For use by EInstalledRepositoryID
///\{
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index 3a262e7e0..146a562b4 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -499,7 +499,6 @@ ERepository::ERepository(const ERepositoryParams & p) :
value_for<n::destination_interface>(p.binary_destination() ? this : 0),
value_for<n::e_interface>(this),
value_for<n::environment_variable_interface>(this),
- value_for<n::hook_interface>(this),
value_for<n::make_virtuals_interface>(static_cast<RepositoryMakeVirtualsInterface *>(0)),
value_for<n::manifest_interface>(this),
value_for<n::mirrors_interface>(this),
diff --git a/paludis/repositories/e/e_repository.hh b/paludis/repositories/e/e_repository.hh
index 4a5981f09..39951f42e 100644
--- a/paludis/repositories/e/e_repository.hh
+++ b/paludis/repositories/e/e_repository.hh
@@ -57,7 +57,6 @@ namespace paludis
public RepositoryVirtualsInterface,
public RepositoryDestinationInterface,
public RepositoryEInterface,
- public RepositoryHookInterface,
public RepositoryQAInterface,
public RepositoryManifestInterface,
public std::tr1::enable_shared_from_this<ERepository>,
diff --git a/paludis/repositories/e/exndbam_repository.cc b/paludis/repositories/e/exndbam_repository.cc
index 382e7dc7a..f5181fc90 100644
--- a/paludis/repositories/e/exndbam_repository.cc
+++ b/paludis/repositories/e/exndbam_repository.cc
@@ -106,7 +106,6 @@ ExndbamRepository::ExndbamRepository(const RepositoryName & n, const ExndbamRepo
value_for<n::destination_interface>(this),
value_for<n::e_interface>(static_cast<RepositoryEInterface *>(0)),
value_for<n::environment_variable_interface>(this),
- value_for<n::hook_interface>(this),
value_for<n::make_virtuals_interface>(static_cast<RepositoryMakeVirtualsInterface *>(0)),
value_for<n::manifest_interface>(static_cast<RepositoryManifestInterface *>(0)),
value_for<n::mirrors_interface>(static_cast<RepositoryMirrorsInterface *>(0)),
diff --git a/paludis/repositories/e/vdb_repository.cc b/paludis/repositories/e/vdb_repository.cc
index 2cca557c3..f4c47b516 100644
--- a/paludis/repositories/e/vdb_repository.cc
+++ b/paludis/repositories/e/vdb_repository.cc
@@ -161,7 +161,6 @@ VDBRepository::VDBRepository(const VDBRepositoryParams & p) :
value_for<n::destination_interface>(this),
value_for<n::e_interface>(static_cast<RepositoryEInterface *>(0)),
value_for<n::environment_variable_interface>(this),
- value_for<n::hook_interface>(this),
value_for<n::make_virtuals_interface>(static_cast<RepositoryMakeVirtualsInterface *>(0)),
value_for<n::manifest_interface>(static_cast<RepositoryManifestInterface *>(0)),
value_for<n::mirrors_interface>(static_cast<RepositoryMirrorsInterface *>(0)),