| 50 | } |
| 51 | |
| 52 | bool InputRecordingFile::close() noexcept |
| 53 | { |
| 54 | if (m_recordingFile == nullptr) |
| 55 | { |
| 56 | return false; |
| 57 | } |
| 58 | fclose(m_recordingFile); |
| 59 | m_recordingFile = nullptr; |
| 60 | m_filename.clear(); |
| 61 | return true; |
| 62 | } |
| 63 | |
| 64 | const std::string& InputRecordingFile::getFilename() const noexcept |
| 65 | { |
no test coverage detected