20#ifndef PALUDIS_GUARD_PALUDIS_HOOKER_HH
21#define PALUDIS_GUARD_PALUDIS_HOOKER_HH 1
27#include <paludis/util/fs_path-fwd.hh>
28#include <paludis/output_manager-fwd.hh>
63 HookFile(
const HookFile &) =
delete;
64 HookFile & operator= (
const HookFile &) =
delete;
73 const std::shared_ptr<OutputManager> & optional_output_manager)
const PALUDIS_ATTRIBUTE((warn_unused_result)) = 0;
75 virtual const FSPath file_name()
const = 0;
79 virtual const std::shared_ptr<const Sequence<std::string> > auto_hook_names()
const = 0;
93 std::shared_ptr<Sequence<std::shared_ptr<HookFile> > > _find_hooks(
const Hook &)
const;
102 Hooker(
const Hooker &) =
delete;
103 Hooker & operator= (
const Hooker &) =
delete;
114 const std::shared_ptr<OutputManager> & optional_output_manager)
const PALUDIS_ATTRIBUTE((warn_unused_result));
Definition environment.hh:203
virtual HookResult run(const Hook &, const std::shared_ptr< OutputManager > &optional_output_manager) const PALUDIS_ATTRIBUTE((warn_unused_result))=0
HookResult perform_hook(const Hook &, const std::shared_ptr< OutputManager > &optional_output_manager) const PALUDIS_ATTRIBUTE((warn_unused_result))
void add_dir(const FSPath &, const bool output_prefixed)
#define PALUDIS_ATTRIBUTE(x)
Definition attributes.hh:53
#define PALUDIS_VISIBLE
Definition attributes.hh:59
Definition about_metadata-fwd.hh:24