Refactored the hardware monitoring code into a library (Issue 101).

This commit is contained in:
Michael Möller
2010-08-08 13:57:26 +00:00
parent 9f90d4063b
commit a2650ba983
59 changed files with 698 additions and 548 deletions

View File

@@ -37,18 +37,26 @@
using System;
using System.Collections.Generic;
using System.Drawing;
namespace OpenHardwareMonitor.Hardware {
public delegate void SensorEventHandler(ISensor sensor);
public enum HardwareType {
CPU,
GPU,
HDD,
Mainboard,
SuperIO,
TBalancer
}
public interface IHardware : IElement {
string Name { get; }
Identifier Identifier { get; }
Image Icon { get; }
HardwareType HardwareType { get; }
string GetReport();