#pragma once #include #include class PIDFile { public: PIDFile(const std::string& programname); ~PIDFile(); private: int get_pid_from_file() const; std::filesystem::path get_filename() const; std::string m_programname; };