moel@110: /* moel@110: 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@110: moel@344: Copyright (C) 2009-2010 Michael Möller moel@344: moel@110: */ moel@110: moel@110: namespace OpenHardwareMonitor.Hardware { moel@110: moel@110: public interface IElement { moel@110: // accept visitor on this element moel@110: void Accept(IVisitor visitor); moel@110: moel@110: // call accept(visitor) on all child elements (called only from visitors) moel@110: void Traverse(IVisitor visitor); moel@110: } moel@110: moel@110: }