paludis Version 3.0.2
The one true package mangler
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 (const Hooker &)=delete
Hooker & operator= (const Hooker &)=delete

Detailed Description

Handles executing hooks.

Member Function Documentation

◆ add_dir()

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

Add a new hook directory.

◆ perform_hook()

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

Perform a hook, return HookResult.

Since
0.53 takes optional_output_manager

References PALUDIS_ATTRIBUTE.


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