Changed a few types to internal (instead of public) in the Open Hardware Monitor library.
authormoel.mich
Mon, 01 Oct 2012 17:10:09 +0000
changeset 381ed5d5fc482ed
parent 380 573f1fff48b2
child 382 ba6abd47a80c
Changed a few types to internal (instead of public) in the Open Hardware Monitor library.
Hardware/HDD/DriveAttributeValue.cs
Hardware/HDD/DriveThresholdValue.cs
Hardware/HDD/ISmart.cs
     1.1 --- a/Hardware/HDD/DriveAttributeValue.cs	Sun Sep 23 18:37:43 2012 +0000
     1.2 +++ b/Hardware/HDD/DriveAttributeValue.cs	Mon Oct 01 17:10:09 2012 +0000
     1.3 @@ -4,7 +4,7 @@
     1.4    License, v. 2.0. If a copy of the MPL was not distributed with this
     1.5    file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.6   
     1.7 -  Copyright (C) 2011 Michael Möller <mmoeller@openhardwaremonitor.org>
     1.8 +  Copyright (C) 2011-2012 Michael Möller <mmoeller@openhardwaremonitor.org>
     1.9  	
    1.10  */
    1.11  
    1.12 @@ -15,7 +15,7 @@
    1.13  namespace OpenHardwareMonitor.Hardware.HDD {
    1.14  
    1.15    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    1.16 -  public struct DriveAttributeValue {
    1.17 +  internal struct DriveAttributeValue {
    1.18      public byte Identifier;
    1.19      public short StatusFlags;
    1.20      public byte AttrValue;
     2.1 --- a/Hardware/HDD/DriveThresholdValue.cs	Sun Sep 23 18:37:43 2012 +0000
     2.2 +++ b/Hardware/HDD/DriveThresholdValue.cs	Mon Oct 01 17:10:09 2012 +0000
     2.3 @@ -4,7 +4,7 @@
     2.4    License, v. 2.0. If a copy of the MPL was not distributed with this
     2.5    file, You can obtain one at http://mozilla.org/MPL/2.0/.
     2.6   
     2.7 -  Copyright (C) 2011 Michael Möller <mmoeller@openhardwaremonitor.org>
     2.8 +  Copyright (C) 2011-2012 Michael Möller <mmoeller@openhardwaremonitor.org>
     2.9  	
    2.10  */
    2.11  
    2.12 @@ -14,7 +14,7 @@
    2.13  namespace OpenHardwareMonitor.Hardware.HDD {
    2.14  
    2.15    [StructLayout(LayoutKind.Sequential, Pack = 1)]
    2.16 -  public struct DriveThresholdValue {
    2.17 +  internal struct DriveThresholdValue {
    2.18      public byte Identifier;
    2.19      public byte Threshold;
    2.20      [MarshalAs(UnmanagedType.ByValArray, SizeConst = 10)]
     3.1 --- a/Hardware/HDD/ISmart.cs	Sun Sep 23 18:37:43 2012 +0000
     3.2 +++ b/Hardware/HDD/ISmart.cs	Mon Oct 01 17:10:09 2012 +0000
     3.3 @@ -14,7 +14,7 @@
     3.4  
     3.5  namespace OpenHardwareMonitor.Hardware.HDD {
     3.6  
     3.7 -  public interface ISmart {
     3.8 +  internal interface ISmart {
     3.9  
    3.10      IntPtr OpenDrive(int driveNumber);
    3.11