Hardware/IComputer.cs
author moel.mich
Sat, 08 Jun 2013 17:06:00 +0000
changeset 392 4b43228a9894
parent 344 3145aadca3d2
permissions -rw-r--r--
Some modifications to the OxyPlot library to back-port to .NET 2.0. Added the LINQBridge library for the LINQ based code in OxyPlot (the original .NET LINQ is not available in .NET 2.0).
moel@83
     1
/*
moel@83
     2
 
moel@344
     3
  This Source Code Form is subject to the terms of the Mozilla Public
moel@344
     4
  License, v. 2.0. If a copy of the MPL was not distributed with this
moel@344
     5
  file, You can obtain one at http://mozilla.org/MPL/2.0/.
moel@83
     6
 
moel@344
     7
  Copyright (C) 2009-2010 Michael Möller <mmoeller@openhardwaremonitor.org>
moel@344
     8
	
moel@83
     9
*/
moel@83
    10
moel@83
    11
namespace OpenHardwareMonitor.Hardware {
moel@83
    12
moel@83
    13
  public delegate void HardwareEventHandler(IHardware hardware);
moel@83
    14
moel@110
    15
  public interface IComputer : IElement {
moel@83
    16
moel@83
    17
    IHardware[] Hardware { get; }
moel@83
    18
moel@370
    19
    bool MainboardEnabled { get; }
moel@370
    20
    bool CPUEnabled { get; }
moel@370
    21
    bool RAMEnabled { get; }
moel@370
    22
    bool GPUEnabled { get; }
moel@370
    23
    bool FanControllerEnabled { get; }
moel@167
    24
    bool HDDEnabled { get; }
moel@83
    25
moel@370
    26
moel@83
    27
    string GetReport();
moel@83
    28
moel@83
    29
    event HardwareEventHandler HardwareAdded;
moel@83
    30
    event HardwareEventHandler HardwareRemoved;
moel@83
    31
  }
moel@83
    32
}