50 Hook(
const std::string& section,
where placement,
const std::string& text)
51 : section(section), placement(placement), text(text) {}
57 std::vector<Hook> hooks;
58 std::string lastSection;
60 void outputParagraph(std::ostream& out,
const std::string& str);
61 void outputOption(std::ostream& out,
const Option* o);
62 void outputOptions(std::ostream& out,
const Engine& p);
63 void runHooks(std::ostream& out,
const std::string& section,
where where);
64 void startSection(std::ostream& out,
const std::string& name);
65 void endSection(std::ostream& out);
72 void addHook(
const std::string& section,
where placement,
const std::string& text)
74 hooks.push_back(Hook(section, placement, text));
void output(std::ostream &out, const Engine &cp)
Definition doc.cpp:326
Manpage(const std::string &app, const std::string &ver, int section, const std::string &author)
Definition doc.h:69
void addHook(const std::string §ion, where placement, const std::string &text)
Definition doc.h:72
void readHooks(const std::string &file)
Definition doc.cpp:409