# HG changeset patch # User moel.mich # Date 1349111409 0 # Node ID ed5d5fc482ed3df665d736df42036053488a6ee3 # Parent 573f1fff48b20da55d70fb59a6b78c030e64140e Changed a few types to internal (instead of public) in the Open Hardware Monitor library. diff -r 573f1fff48b2 -r ed5d5fc482ed Hardware/HDD/DriveAttributeValue.cs --- a/Hardware/HDD/DriveAttributeValue.cs Sun Sep 23 18:37:43 2012 +0000 +++ b/Hardware/HDD/DriveAttributeValue.cs Mon Oct 01 17:10:09 2012 +0000 @@ -4,7 +4,7 @@ License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. - Copyright (C) 2011 Michael Möller + Copyright (C) 2011-2012 Michael Möller */ @@ -15,7 +15,7 @@ namespace OpenHardwareMonitor.Hardware.HDD { [StructLayout(LayoutKind.Sequential, Pack = 1)] - public struct DriveAttributeValue { + internal struct DriveAttributeValue { public byte Identifier; public short StatusFlags; public byte AttrValue; diff -r 573f1fff48b2 -r ed5d5fc482ed Hardware/HDD/DriveThresholdValue.cs --- a/Hardware/HDD/DriveThresholdValue.cs Sun Sep 23 18:37:43 2012 +0000 +++ b/Hardware/HDD/DriveThresholdValue.cs Mon Oct 01 17:10:09 2012 +0000 @@ -4,7 +4,7 @@ License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. - Copyright (C) 2011 Michael Möller + Copyright (C) 2011-2012 Michael Möller */ @@ -14,7 +14,7 @@ namespace OpenHardwareMonitor.Hardware.HDD { [StructLayout(LayoutKind.Sequential, Pack = 1)] - public struct DriveThresholdValue { + internal struct DriveThresholdValue { public byte Identifier; public byte Threshold; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 10)] diff -r 573f1fff48b2 -r ed5d5fc482ed Hardware/HDD/ISmart.cs --- a/Hardware/HDD/ISmart.cs Sun Sep 23 18:37:43 2012 +0000 +++ b/Hardware/HDD/ISmart.cs Mon Oct 01 17:10:09 2012 +0000 @@ -14,7 +14,7 @@ namespace OpenHardwareMonitor.Hardware.HDD { - public interface ISmart { + internal interface ISmart { IntPtr OpenDrive(int driveNumber);