| 16 | #include <QDir> |
| 17 | |
| 18 | SubtitleMatcher::SubtitleMatcher( |
| 19 | bool _noBackup, bool _isPostProcessingEnabled, QString _ppSubFormat, |
| 20 | QString _ppSubExtension, bool _changePermissions, |
| 21 | QString _changePermissionsTo, |
| 22 | const QSharedPointer<const SubtitleFormatsRegistry>& |
| 23 | subtitleFormatsRegistry) |
| 24 | : noBackup(_noBackup), |
| 25 | isPostProcessingEnabled(_isPostProcessingEnabled), |
| 26 | ppSubFormat(_ppSubFormat), |
| 27 | ppSubExtension(_ppSubExtension), |
| 28 | changePermissions(_changePermissions), |
| 29 | changePermissionsTo(_changePermissionsTo), |
| 30 | subtitleFormatsRegistry(subtitleFormatsRegistry) {} |
| 31 | |
| 32 | bool SubtitleMatcher::matchSubtitles(QString subtitlesTmpFilePath, |
| 33 | QString targetMovieFilePath) const { |
nothing calls this directly
no outgoing calls
no test coverage detected