Merge branch develop-3.10
[firefly-linux-kernel-4.4.55.git] / tools / gator / daemon / HwmonDriver.h
1 /**
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
14 class HwmonDriver : public PolledDriver {
15 public:
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
25 private:
26         // Intentionally unimplemented
27         HwmonDriver(const HwmonDriver &);
28         HwmonDriver &operator=(const HwmonDriver &);
29 };
30
31 #endif // HWMONDRIVER_H