Hardware/IComputer.cs
author sl
Sun, 03 Feb 2013 18:01:50 +0100
changeset 391 ca4c0e7ae75d
parent 344 3145aadca3d2
permissions -rw-r--r--
Converted project to VisualStudio 2012.
Adding SoundGraphDisplay and SensorFrontView classes.
They were respectively based on SystemTray and SensorNotifyIcon.
SoundGraphDisplay is now able to load iMONDisplay.dll providing it lives on your PATH.
Adding option to sensor context menu for adding it into FrontView.
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
}