summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs b/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs
new file mode 100644
index 000000000..b946d7c7e
--- /dev/null
+++ b/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs
@@ -0,0 +1,18 @@
+namespace HandBrakeWPF.ViewModels
+{
+ using Caliburn.PresentationFramework.ApplicationModel;
+ using Caliburn.PresentationFramework.Screens;
+
+ /// <summary>
+ /// A Base Class for the View Models which contains reusable code.
+ /// </summary>
+ public class ViewModelBase : Screen
+ {
+ public ViewModelBase(IWindowManager windowManager)
+ {
+ this.WindowManager = windowManager;
+ }
+
+ public IWindowManager WindowManager { get; private set; }
+ }
+}