moel@83: /*
moel@83:  
moel@344:   This Source Code Form is subject to the terms of the Mozilla Public
moel@344:   License, v. 2.0. If a copy of the MPL was not distributed with this
moel@344:   file, You can obtain one at http://mozilla.org/MPL/2.0/.
moel@83:  
moel@344:   Copyright (C) 2009-2010 Michael Möller <mmoeller@openhardwaremonitor.org>
moel@344: 	
moel@83: */
moel@83: 
moel@83: namespace OpenHardwareMonitor.Hardware {
moel@83: 
moel@83:   public delegate void HardwareEventHandler(IHardware hardware);
moel@83: 
moel@110:   public interface IComputer : IElement {
moel@83: 
moel@83:     IHardware[] Hardware { get; }
moel@83: 
moel@167:     bool HDDEnabled { get; }
moel@83: 
moel@83:     string GetReport();
moel@83: 
moel@83:     event HardwareEventHandler HardwareAdded;
moel@83:     event HardwareEventHandler HardwareRemoved;
moel@83:   }
moel@83: }