aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2019-12-29 17:59:11 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2019-12-29 17:59:11 +0100
commit58ee60be9de472ee9d7558e64f23fb53e4d8cb4e (patch)
treea288ae2387e9ad447ce90ab18c8716287cedf8c0 /inc
parentin progress (diff)
downloadlowbat-gnu-58ee60be9de472ee9d7558e64f23fb53e4d8cb4e.tar.gz
lowbat-gnu-58ee60be9de472ee9d7558e64f23fb53e4d8cb4e.tar.bz2
lowbat-gnu-58ee60be9de472ee9d7558e64f23fb53e4d8cb4e.tar.xz
lowbat-gnu-58ee60be9de472ee9d7558e64f23fb53e4d8cb4e.tar.zst
lowbat-gnu-58ee60be9de472ee9d7558e64f23fb53e4d8cb4e.zip
Starting to look good
Diffstat (limited to 'inc')
-rw-r--r--inc/jo_lowbat.hpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/inc/jo_lowbat.hpp b/inc/jo_lowbat.hpp
index 3f70e09..a03c336 100644
--- a/inc/jo_lowbat.hpp
+++ b/inc/jo_lowbat.hpp
@@ -8,17 +8,14 @@ using namespace std;
class Lowbat {
public:
- uint8_t jo_testAcpi(void);
- string jo_exec(const char*);
- string jo_fetchBatlvl(void);
- int jo_notify(const string);
- int jo_speak(const string);
+ uint8_t jo_testAcpi(void);
+ int jo_fetchBatlvl(void);
+ int jo_notify(void);
+ int jo_speak(const string);
+ static string jo_exec(const char*);
private:
+ string m_batlvl;
};
-int jo_notify(const string);
-int jo_speak (const string);
-string jo_exec (const char*);
-
#endif