moel@64: /* moel@64: moel@344: This Source Code Form is subject to the terms of the Mozilla Public moel@344: License, v. 2.0. If a copy of the MPL was not distributed with this moel@344: file, You can obtain one at http://mozilla.org/MPL/2.0/. moel@64: moel@344: Copyright (C) 2009-2010 Michael Möller moel@344: moel@64: */ moel@64: moel@64: namespace OpenHardwareMonitor.Hardware.Mainboard { moel@165: internal class MainboardGroup : IGroup { moel@64: moel@195: private readonly Mainboard[] mainboards; moel@64: moel@165: public MainboardGroup(ISettings settings) { moel@64: mainboards = new Mainboard[1]; moel@165: mainboards[0] = new Mainboard(settings); moel@64: } moel@64: moel@64: public void Close() { moel@64: foreach (Mainboard mainboard in mainboards) moel@64: mainboard.Close(); moel@64: } moel@64: moel@64: public string GetReport() { moel@64: return null; moel@64: } moel@64: moel@64: public IHardware[] Hardware { moel@64: get { return mainboards; } moel@64: moel@64: } moel@64: } moel@64: }