summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Model/ModelBase.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-04-15 21:04:18 +0000
committersr55 <[email protected]>2011-04-15 21:04:18 +0000
commita264b3c24c8ef687cac5325753be29f1b0f1d9f9 (patch)
tree318e69fb9ad0af00d2a2ae36c7b03d7f2d14c9af /win/CS/HandBrake.ApplicationServices/Model/ModelBase.cs
parent70fee546acaf4db3efb690ac4aaa09e0f4cb65e8 (diff)
WinGui:
- Added "Advanced" audio options floating popup window. * This exposes a new Audio Gain Control (-20 to +20 dB) - Added support for (--gain=x,y,z) to the preset Loader. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3929 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model/ModelBase.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Model/ModelBase.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Model/ModelBase.cs b/win/CS/HandBrake.ApplicationServices/Model/ModelBase.cs
new file mode 100644
index 000000000..041b18eb3
--- /dev/null
+++ b/win/CS/HandBrake.ApplicationServices/Model/ModelBase.cs
@@ -0,0 +1,22 @@
+/* ModelBase.cs $
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.fr>.
+ It may be used under the terms of the GNU General Public License. */
+
+namespace HandBrake.ApplicationServices.Model
+{
+ using System.ComponentModel;
+
+ public class ModelBase : INotifyPropertyChanged
+ {
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void OnPropertyChanged(string propertyName)
+ {
+ if (null != PropertyChanged)
+ {
+ PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+}