Changed a few types to internal (instead of public) in the Open Hardware Monitor library.

This commit is contained in:
Michael Möller
2012-10-01 17:10:09 +00:00
parent c2f1a51725
commit b6ad3fa3db
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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 <mmoeller@openhardwaremonitor.org>
Copyright (C) 2011-2012 Michael Möller <mmoeller@openhardwaremonitor.org>
*/
@@ -15,7 +15,7 @@ using System.Runtime.InteropServices;
namespace OpenHardwareMonitor.Hardware.HDD {
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct DriveAttributeValue {
internal struct DriveAttributeValue {
public byte Identifier;
public short StatusFlags;
public byte AttrValue;
+2 -2
View File
@@ -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 <mmoeller@openhardwaremonitor.org>
Copyright (C) 2011-2012 Michael Möller <mmoeller@openhardwaremonitor.org>
*/
@@ -14,7 +14,7 @@ using System.Runtime.InteropServices;
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)]
+1 -1
View File
@@ -14,7 +14,7 @@ using System.Collections.Generic;
namespace OpenHardwareMonitor.Hardware.HDD {
public interface ISmart {
internal interface ISmart {
IntPtr OpenDrive(int driveNumber);