Added a wrapper for the NotifyIconAdv to use the normal NotifyIcon class on Linux systems and the (fixed) custom implementation on Windows systems.
3 This Source Code Form is subject to the terms of the Mozilla Public
4 License, v. 2.0. If a copy of the MPL was not distributed with this
5 file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 Copyright (C) 2012 Michael Möller <mmoeller@openhardwaremonitor.org>
11 namespace OpenHardwareMonitor.Hardware.RAM {
12 internal class RAMGroup : IGroup {
14 private IHardware[] hardware;
16 public RAMGroup(SMBIOS smbios, ISettings settings) {
18 if (smbios.MemoryDevices.Length > 0) {
19 name = smbios.MemoryDevices[0].ManufacturerName + " " +
20 smbios.MemoryDevices[0].PartNumber;
22 name = "Generic Memory";
25 hardware = new IHardware[] { new GenericRAM(name, settings) };
28 public string GetReport() {
32 public IHardware[] Hardware {