From def7e392f4646d948e30ba2d5e4ea2eabf1a877a Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 29 Dec 2019 18:49:34 +0100 Subject: oriented object is fine --- inc/jo_lowbat.hpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'inc') 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 -- cgit v1.2.3