{\r
using System.ComponentModel;\r
using System.Linq;\r
- using System.Windows.Media.Animation;\r
\r
- using Caliburn.Micro;\r
+ using HandBrake.ApplicationServices.Utilities;\r
\r
/// <summary>\r
/// Audio Behaviours\r
/// </summary>\r
public class AudioBehaviours : PropertyChangedBase\r
{\r
- /// <summary>\r
- /// The selected behaviour.\r
- /// </summary>\r
private AudioBehaviourModes selectedBehaviour;\r
-\r
- /// <summary>\r
- /// The selected langauges.\r
- /// </summary>\r
private BindingList<string> selectedLangauges;\r
-\r
private AudioTrackDefaultsMode trackDefaultBehaviour;\r
\r
/// <summary>\r
{\r
AudioBehaviours cloned = new AudioBehaviours\r
{\r
- SelectedBehaviour = this.selectedBehaviour,\r
- SelectedLangauges = new BindingList<string>(),\r
+ SelectedBehaviour = this.selectedBehaviour, \r
+ SelectedLangauges = new BindingList<string>(), \r
SelectedTrackDefaultBehaviour = this.SelectedTrackDefaultBehaviour\r
};\r
\r
using System.ComponentModel;\r
using System.Linq;\r
\r
- using Caliburn.Micro;\r
+ using HandBrake.ApplicationServices.Utilities;\r
\r
/// <summary>\r
/// A class to track the behaviours of audio track selection\r
{\r
SubtitleBehaviours cloned = new SubtitleBehaviours\r
{\r
- SelectedBehaviour = this.selectedBehaviour,\r
- SelectedBurnInBehaviour = this.selectedBurnInBehaviour,\r
- SelectedLangauges = new BindingList<string>(),\r
- AddClosedCaptions = this.addClosedCaptions,\r
- AddForeignAudioScanTrack = this.addForeignAudioScanTrack,\r
+ SelectedBehaviour = this.selectedBehaviour, \r
+ SelectedBurnInBehaviour = this.selectedBurnInBehaviour, \r
+ SelectedLangauges = new BindingList<string>(), \r
+ AddClosedCaptions = this.addClosedCaptions, \r
+ AddForeignAudioScanTrack = this.addForeignAudioScanTrack, \r
};\r
\r
foreach (var item in this.SelectedLangauges)\r