source: trunk/CrypPlugins/SmartInterpreter/SmartInterpreterSettings.cs @ 2280

Last change on this file since 2280 was 186, checked in by Thomas Schmid, 13 years ago
  • added new SmartCard plugins provided by Mr. Gronau
File size: 1.2 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using Cryptool.PluginBase;
6using System.ComponentModel;
7using Cryptool.PluginBase.Miscellaneous;
8using System.Collections.ObjectModel;
9
10namespace SmartInterpreter
11{
12  public class SmartInterpreterSettings : ISettings
13  {
14    private ObservableCollection<string> collection = new ObservableCollection<string>();
15
16    #region ISettings Members
17
18    private bool hasChanges = false;
19    public bool HasChanges
20    {
21      get { return hasChanges; }
22      set { hasChanges = value; }
23    }
24
25    #endregion
26
27    public event GuiLogNotificationEventHandler OnGuiLogNotificationOccured;
28    private void GuiLogMessage(string message, NotificationLevel logLevel)
29    {
30      EventsHelper.GuiLogMessage(OnGuiLogNotificationOccured, null, new GuiLogEventArgs(message, null, logLevel));
31    }
32
33
34    #region INotifyPropertyChanged Members
35
36    public event PropertyChangedEventHandler PropertyChanged;
37
38    protected void OnPropertyChanged(string name)
39    {
40      EventsHelper.PropertyChanged(PropertyChanged, this, new PropertyChangedEventArgs(name));
41    }
42
43    #endregion
44  }
45}
Note: See TracBrowser for help on using the repository browser.