Hardware/IComputer.cs
author moel.mich
Wed, 11 Jul 2012 17:35:30 +0000
changeset 360 c1a4377c11d1
parent 182 4801e9eaf979
child 370 8e4dedc41924
permissions -rw-r--r--
Added the option to enable/disable all hardware groups.
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@167
    19
    bool HDDEnabled { get; }
moel@83
    20
moel@83
    21
    string GetReport();
moel@83
    22
moel@83
    23
    event HardwareEventHandler HardwareAdded;
moel@83
    24
    event HardwareEventHandler HardwareRemoved;
moel@83
    25
  }
moel@83
    26
}