diff options
| author | Roy <roy.mail.net@gmail.com> | 2018-02-11 14:55:39 +0200 |
|---|---|---|
| committer | Roy <roy.mail.net@gmail.com> | 2018-02-11 14:55:39 +0200 |
| commit | 1dd0d4988fb99109765b956adc6a371f5cb036e0 (patch) | |
| tree | 52ccf7950af6039821b1be30005c23bc75083a78 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioApplication | |
| parent | f736578b2c843d0cb23948e088379c3a3c3b12e7 (diff) | |
| download | Tango-1dd0d4988fb99109765b956adc6a371f5cb036e0.tar.gz Tango-1dd0d4988fb99109765b956adc6a371f5cb036e0.zip | |
More work on technician view...
Added auto loading of last project.
Added IShutdownListener interface.
Added TechName to Tech Items.
Fixed issue with tech name of IO port.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioApplication')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioApplication/IShutdownListener.cs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioApplication/IShutdownListener.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioApplication/IShutdownListener.cs new file mode 100644 index 000000000..1ca5a7df2 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioApplication/IShutdownListener.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.MachineStudio.Common.StudioApplication +{ + /// <summary> + /// Used to notify view models about application terminating. + /// </summary> + public interface IShutdownListener + { + /// <summary> + /// Called when the application is about to terminate. + /// </summary> + void OnShuttingDown(); + } +} |
