diff options
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Model/ModelBase.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Model/ModelBase.cs | 22 |
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));
+ }
+ }
+ }
+}
|