TODO: LoaderResult is not used yet
| 15 | { |
| 16 | // TODO: LoaderResult is not used yet |
| 17 | class LoaderResult |
| 18 | { |
| 19 | private: |
| 20 | bool m_success; |
| 21 | std::string m_path; |
| 22 | |
| 23 | public: |
| 24 | LoaderResult(); |
| 25 | LoaderResult(const std::string& path); |
| 26 | [[nodiscard]] std::string path() const; |
| 27 | [[nodiscard]] bool success() const; |
| 28 | operator bool() const; |
| 29 | }; |
| 30 | |
| 31 | class LoaderMultipleResult |
| 32 | { |