Hardware/IComputer.cs
author moel.mich
Sun, 21 Oct 2012 14:45:24 +0000
changeset 383 ace2c5fc4b7f
parent 344 3145aadca3d2
permissions -rw-r--r--
Enabled fan control on mainboards by default.
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
}