aboutsummaryrefslogtreecommitdiff
path: root/paludis/python_hooks.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-03-22 15:59:52 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-03-22 15:59:52 +0000
commit0a479e1fc25255d60b573ba7b91295ff7b1bf080 (patch)
tree2d252ffe335bc70695701c2d2e0a04ba91868403 /paludis/python_hooks.cc
parentef30feada12c02381e32b649b132e6a6c5efaf25 (diff)
downloadpaludis-0a479e1fc25255d60b573ba7b91295ff7b1bf080.tar.gz
paludis-0a479e1fc25255d60b573ba7b91295ff7b1bf080.tar.xz
Implement auto hooks, new install_task hook phases. Fixes: ticket:434, ticket:435, ticket:502
Diffstat (limited to 'paludis/python_hooks.cc')
-rw-r--r--paludis/python_hooks.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/paludis/python_hooks.cc b/paludis/python_hooks.cc
index 93d3afd28..e915fdacb 100644
--- a/paludis/python_hooks.cc
+++ b/paludis/python_hooks.cc
@@ -12,6 +12,8 @@
#include <paludis/util/strip.hh>
#include <paludis/util/system.hh>
#include <paludis/util/mutex.hh>
+#include <paludis/util/sequence.hh>
+#include <paludis/util/make_shared_ptr.hh>
#include <set>
@@ -69,7 +71,13 @@ namespace
}
virtual void add_dependencies(const Hook &, DirectedGraph<std::string, int> &);
+
+ virtual const tr1::shared_ptr<const Sequence<std::string> > auto_hook_names() const
+ {
+ return make_shared_ptr(new Sequence<std::string>);
+ }
};
+
Mutex PyHookFile::_mutex;
bp::dict PyHookFile::_output_wrapper_namespace;
bp::dict PyHookFile::_local_namespace_base;