diff -r 21504f47aedf -r 96263190189a Hardware/Hardware.cs --- a/Hardware/Hardware.cs Sat Jun 04 13:27:11 2011 +0000 +++ b/Hardware/Hardware.cs Sun Jun 19 12:41:18 2011 +0000 @@ -113,6 +113,13 @@ public abstract void Update(); + public event HardwareEventHandler Closing; + + public virtual void Close() { + if (Closing != null) + Closing(this); + } + public void Accept(IVisitor visitor) { if (visitor == null) throw new ArgumentNullException("visitor");