summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2016-02-20 17:28:42 +0000
committersr55 <[email protected]>2016-02-20 17:28:42 +0000
commiteff231c2375c4056925c538332db44445de027e1 (patch)
treea554603ff5480b34e7cc1982b179a77de50eb473 /win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs
parent2ffd38224aaed783471d7a6203782d27273e876b (diff)
WinGui: Adding a "Queue" Menu
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/MainViewModel.cs11
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>