aboutsummaryrefslogtreecommitdiff
path: root/paludis/python_hooks.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-12 11:45:03 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-12 18:26:26 +0100
commitd2a099ba20322fe14bfef923831d0c80aa054022 (patch)
treeef692842edd0c7c63f8e43899f4679458f4b878f /paludis/python_hooks.cc
parenta9d0bdd2ddedf24c4e200aaecf9ba01ede313f13 (diff)
downloadpaludis-d2a099ba20322fe14bfef923831d0c80aa054022.tar.gz
paludis-d2a099ba20322fe14bfef923831d0c80aa054022.tar.xz
Let hooks take an output manager
Diffstat (limited to 'paludis/python_hooks.cc')
-rw-r--r--paludis/python_hooks.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/python_hooks.cc b/paludis/python_hooks.cc
index 7daebaa06..0f0cd1a19 100644
--- a/paludis/python_hooks.cc
+++ b/paludis/python_hooks.cc
@@ -63,7 +63,7 @@ namespace
public:
PyHookFile(const FSEntry &, const bool, const Environment * const);
- virtual HookResult run(const Hook &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ virtual HookResult run(const Hook &, const std::shared_ptr<OutputManager> &) const PALUDIS_ATTRIBUTE((warn_unused_result));
virtual const FSEntry file_name() const
{
@@ -151,7 +151,7 @@ PyHookFile::PyHookFile(const FSEntry & f, const bool r, const Environment * cons
}
HookResult
-PyHookFile::run(const Hook & hook) const
+PyHookFile::run(const Hook & hook, const std::shared_ptr<OutputManager> &) const
{
Context c("When running hook '" + stringify(file_name()) + "' for hook '" + hook.name() + "':");