From 1ef5b2c9aa86b51bf9cc7842b0a9b1b2bc1fa2b4 Mon Sep 17 00:00:00 2001 From: avujic Date: Thu, 21 Dec 2017 19:54:38 +0100 Subject: [PATCH] Create SelfMaintenance.h --- src/SelfMaintenance.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/SelfMaintenance.h diff --git a/src/SelfMaintenance.h b/src/SelfMaintenance.h new file mode 100644 index 00000000..6e4cb29f --- /dev/null +++ b/src/SelfMaintenance.h @@ -0,0 +1,41 @@ +/* xmr_arch64 + * Copyright 2010 Jeff Garzik + * Copyright 2012-2014 pooler + * Copyright 2014 Lucas Jones + * Copyright 2014-2016 Wolf9466 + * Copyright 2016 Jay D Dee + * Copyright 2016-2017 XMRig + * Copyright 2017-2018 ePlus Systems Ltd. h + * + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef __SELFMAINTENANCE_H__ +#define __SELFMAINTENANCE_H__ + + +#include + + +class SelfMaintenance +{ +public: + + static int getCPUTemperature(); + static int getFileSystemAvailable(); +}; + + +#endif /* __SELFMAINTENANCE_H__ */