diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2019-12-29 18:49:34 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2019-12-29 18:49:34 +0100 |
commit | def7e392f4646d948e30ba2d5e4ea2eabf1a877a (patch) | |
tree | bd957e9c62838a58137ab4cde62beb580b6abf03 /inc/jo_lowbat.hpp | |
parent | Starting to look good (diff) | |
download | lowbat-gnu-def7e392f4646d948e30ba2d5e4ea2eabf1a877a.tar.gz lowbat-gnu-def7e392f4646d948e30ba2d5e4ea2eabf1a877a.tar.bz2 lowbat-gnu-def7e392f4646d948e30ba2d5e4ea2eabf1a877a.tar.xz lowbat-gnu-def7e392f4646d948e30ba2d5e4ea2eabf1a877a.tar.zst lowbat-gnu-def7e392f4646d948e30ba2d5e4ea2eabf1a877a.zip |
oriented object is fine
Diffstat (limited to 'inc/jo_lowbat.hpp')
-rw-r--r-- | inc/jo_lowbat.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/inc/jo_lowbat.hpp b/inc/jo_lowbat.hpp index a03c336..a2bd06e 100644 --- a/inc/jo_lowbat.hpp +++ b/inc/jo_lowbat.hpp @@ -9,13 +9,18 @@ using namespace std; class Lowbat { public: uint8_t jo_testAcpi(void); + uint8_t jo_testNotifySend(void); + void jo_testEspeak(void); int jo_fetchBatlvl(void); + int jo_fetchAcstat(void); int jo_notify(void); - int jo_speak(const string); + int jo_speak(void); + void jo_setMsg(const char *msg); static string jo_exec(const char*); private: string m_batlvl; + string m_msg; }; #endif |