summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-03-13 16:44:49 +0000
committersr55 <[email protected]>2011-03-13 16:44:49 +0000
commitb6a5d4eba610711d15ed99dc5f2e9e126ce06086 (patch)
treee72eb5be161c3ac9b01bbc3b3efcd4ab8f91e06c /win/CS/HandBrakeWPF/ViewModels/ViewModelBase.cs
parent38f64c238720fe0524f99b380fbb1a8c795a7586 (diff)
Rename Direction C# to CS
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3846 b64f7644-9d1e-0410-96f1-a4d463321fa5
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; }
+ }
+}