paludis  Version 2.6.0
Public Member Functions | List of all members
paludis::Hooker Class Reference

#include <hooker.hh>

Public Member Functions

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)

Basic operations

 Hooker (const Environment *const) PALUDIS_ATTRIBUTE((nonnull(2)))
 ~Hooker ()
 Hooker (const Hooker &)=delete
Hookeroperator= (const Hooker &)=delete

Detailed Description

Handles executing hooks.

Member Function Documentation

void paludis::Hooker::add_dir ( const FSPath ,
const bool  output_prefixed 

Add a new hook directory.

HookResult paludis::Hooker::perform_hook ( const Hook ,
const std::shared_ptr< OutputManager > &  optional_output_manager 
) const

Perform a hook, return HookResult.

0.53 takes optional_output_manager

The documentation for this class was generated from the following file: