summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/Interfaces
diff options
context:
space:
mode:
authorsr55 <[email protected]>2018-05-24 20:59:08 +0100
committersr55 <[email protected]>2018-05-24 20:59:33 +0100
commitf6e6fc6c47298a0dd17dad6a6c387c18fe13c6b8 (patch)
tree6735481855a3367294ed053257052ff4c8d213a9 /win/CS/HandBrakeWPF/ViewModels/Interfaces
parent91bef558463a2635a934de99a61439696682c9c1 (diff)
WinGui: Add support for dropping .srt files onto the main window. When you do this, the Subtitles tab is activated and a subtitle track for each file dropped will be added.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/Interfaces')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/Interfaces/ISubtitlesViewModel.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/Interfaces/ISubtitlesViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/Interfaces/ISubtitlesViewModel.cs
index 46086836b..c5f0f5e3c 100644
--- a/win/CS/HandBrakeWPF/ViewModels/Interfaces/ISubtitlesViewModel.cs
+++ b/win/CS/HandBrakeWPF/ViewModels/Interfaces/ISubtitlesViewModel.cs
@@ -20,5 +20,13 @@ namespace HandBrakeWPF.ViewModels.Interfaces
/// Gets the subtitle behaviours.
/// </summary>
SubtitleBehaviours SubtitleBehaviours { get; }
+
+ /// <summary>
+ /// Import Subtitle files. Used for Drag/drop support which is handled by the MainViewModel.
+ /// </summary>
+ /// <param name="subtitleFiles">
+ /// String array of files.
+ /// </param>
+ void Import(string[] subtitleFiles);
}
}