diff options
author | sr55 <[email protected]> | 2016-02-20 17:28:42 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2016-02-20 17:28:42 +0000 |
commit | eff231c2375c4056925c538332db44445de027e1 (patch) | |
tree | a554603ff5480b34e7cc1982b179a77de50eb473 /win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | |
parent | 2ffd38224aaed783471d7a6203782d27273e876b (diff) |
WinGui: Adding a "Queue" Menu
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs index 5eb792abb..0065bef6a 100644 --- a/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs @@ -18,6 +18,7 @@ namespace HandBrakeWPF.ViewModels using System.Linq;
using System.Threading;
using System.Windows;
+ using System.Windows.Input;
using Caliburn.Micro;
@@ -25,6 +26,7 @@ namespace HandBrakeWPF.ViewModels using HandBrake.ApplicationServices.Utilities;
using HandBrakeWPF.Commands;
+ using HandBrakeWPF.Commands.Menu;
using HandBrakeWPF.EventArgs;
using HandBrakeWPF.Factories;
using HandBrakeWPF.Helpers;
@@ -221,6 +223,9 @@ namespace HandBrakeWPF.ViewModels break;
}
+ // Setup Commands
+ this.QueueCommand = new QueueCommands(this.QueueViewModel);
+
HandBrakeInstanceManager.Init();
}
@@ -1176,6 +1181,12 @@ namespace HandBrakeWPF.ViewModels #endregion
+ #region Commands
+
+ public ICommand QueueCommand { get; set; }
+
+ #endregion
+
#region Load and Shutdown Handling
/// <summary>
|