Hardware/IComputer.cs
author Stephane Lenclud
Sat, 30 Jan 2016 23:01:51 +0100
branchMiniDisplay
changeset 454 f84878f52cd9
parent 344 3145aadca3d2
permissions -rw-r--r--
Disabling Nuvoton NCT6791D because of fan full speed bug on Asus Z97 WS.
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
}