| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | // Copyright 2019 Juan Palacios <[email protected]> |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include <string> |
| 7 | |
| 8 | class IPIDSolver |
| 9 | { |
| 10 | public: |
| 11 | /// Translates a PID to its application executable name |
| 12 | /// @param PID application's PID |
| 13 | /// @return application executable name |
| 14 | virtual std::string app(int PID) = 0; |
| 15 | |
| 16 | virtual ~IPIDSolver() = default; |
| 17 | }; |