20#ifndef PALUDIS_GUARD_PALUDIS_STRIPPER_HH
21#define PALUDIS_GUARD_PALUDIS_STRIPPER_HH 1
23#include <paludis/stripper-fwd.hh>
27#include <paludis/util/fs_path.hh>
28#include <paludis/util/named_value.hh>
35 typedef Name<struct name_compress_splits> compress_splits;
36 typedef Name<struct name_debug_dir> debug_dir;
37 typedef Name<struct name_dwarf_compression> dwarf_compression;
38 typedef Name<struct name_image_dir> image_dir;
39 typedef Name<struct name_split> split;
40 typedef Name<struct name_strip> strip;
41 typedef Name<struct name_tool_prefix> tool_prefix;
59 StripperError(
const std::string &)
noexcept;
68 virtual void on_enter_dir(
const FSPath &) = 0;
69 virtual void on_leave_dir(
const FSPath &) = 0;
71 virtual void on_strip(
const FSPath &) = 0;
72 virtual void on_split(
const FSPath &,
const FSPath &) = 0;
73 virtual void on_dwarf_compress(
const FSPath &) = 0;
74 virtual void on_unknown(
const FSPath &) = 0;
76 virtual void do_dir_recursive(
const FSPath &);
78 virtual std::string file_type(
const FSPath &);
81 virtual void do_strip(
const FSPath &,
const std::string &);
82 virtual void do_dwarf_compress(
const FSPath &);
84 virtual std::string strip_action_desc()
const;
85 virtual std::string split_action_desc()
const;
86 virtual std::string unknown_action_desc()
const;
87 virtual std::string dwarf_compress_desc()
const;
94 virtual ~Stripper() = 0;
Definition named_value.hh:51
#define PALUDIS_VISIBLE
Definition attributes.hh:59
Definition about_metadata-fwd.hh:24
Definition stripper.hh:45