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,11 +37,10 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using OpenHardwareMonitor.Utilities;
using OpenHardwareMonitor.Collections;
namespace OpenHardwareMonitor.Hardware {
public abstract class Hardware : IHardware {
internal abstract class Hardware : IHardware {
private ListSet<ISensor> active = new ListSet<ISensor>();
@@ -72,7 +71,7 @@ namespace OpenHardwareMonitor.Hardware {
public abstract string Name { get; }
public abstract Identifier Identifier { get; }
public abstract Image Icon { get; }
public abstract HardwareType HardwareType { get; }
public virtual string GetReport() {
return null;