MCPcopy Create free account
hub / github.com/QNapi/qnapi / SubtitleMatcher

Method SubtitleMatcher

libqnapi/src/subtitlematcher.cpp:18–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include <QDir>
17
18SubtitleMatcher::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
32bool SubtitleMatcher::matchSubtitles(QString subtitlesTmpFilePath,
33 QString targetMovieFilePath) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected