blob: f28d825e3b7b69110c3793d45d6dad86ac1e1c1e [file] [log] [blame]
Jon Medhurst96b56152014-10-30 18:01:15 +00001/**
2 * Copyright (C) ARM Limited 2013-2014. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9#ifndef HWMONDRIVER_H
10#define HWMONDRIVER_H
11
12#include "Driver.h"
13
14class HwmonDriver : public PolledDriver {
15public:
16 HwmonDriver();
17 ~HwmonDriver();
18
19 void readEvents(mxml_node_t *const root);
20
21 void writeEvents(mxml_node_t *root) const;
22
23 void start();
24
25private:
26 // Intentionally unimplemented
27 HwmonDriver(const HwmonDriver &);
28 HwmonDriver &operator=(const HwmonDriver &);
29};
30
31#endif // HWMONDRIVER_H