From 1dd0d4988fb99109765b956adc6a371f5cb036e0 Mon Sep 17 00:00:00 2001 From: Roy Date: Sun, 11 Feb 2018 14:55:39 +0200 Subject: 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. --- .../StudioApplication/IShutdownListener.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioApplication/IShutdownListener.cs (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/StudioApplication') 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 +{ + /// + /// Used to notify view models about application terminating. + /// + public interface IShutdownListener + { + /// + /// Called when the application is about to terminate. + /// + void OnShuttingDown(); + } +} -- cgit v1.3.1