Hardware/IComputer.cs
author StephaneLenclud
Thu, 18 Apr 2013 23:25:10 +0200
branchMiniDisplay
changeset 444 9b09e2ee0968
parent 344 3145aadca3d2
permissions -rw-r--r--
Front View plug-in does not init if no sensor added.
Fixing some format to make strings shorter.
Now trying to start SoundGraphAccess.exe process from same directory.
Packed mode now can display three sensors along with the current time.
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
}