1 | #pragma once |
---|---|
2 | |
3 | #include "unit.hpp" |
4 | |
5 | struct Path : public Unit |
6 | { |
7 | using Unit::Unit; |
8 | std::string path; |
9 | |
10 | private: |
11 | bool do_start() override; |
12 | bool do_stop() override; |
13 | bool do_load(const toml::table &data) override; |
14 | void do_print(std::ostream &os) const override; |
15 | }; |
16 |