Changed a few types to internal (instead of public) in the Open Hardware Monitor library.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)]
|
||||
|
||||
@@ -14,7 +14,7 @@ using System.Collections.Generic;
|
||||
|
||||
namespace OpenHardwareMonitor.Hardware.HDD {
|
||||
|
||||
public interface ISmart {
|
||||
internal interface ISmart {
|
||||
|
||||
IntPtr OpenDrive(int driveNumber);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user