diff options
Diffstat (limited to 'src/monitor.hpp')
-rw-r--r-- | src/monitor.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/monitor.hpp b/src/monitor.hpp index 8aa58ba..73bc31c 100644 --- a/src/monitor.hpp +++ b/src/monitor.hpp @@ -47,19 +47,20 @@ namespace xs private: - enum {timer_id = 0x44}; - // Handlers for incoming commands. void process_plug (); void process_stop (); // Events from the poller. - void timer_event (int id_); + void timer_event (handle_t handle_); // Actual monitoring data to send and the related critical section. std::string text; mutex_t sync; + // Handle of the timer. + handle_t timer; + monitor_t (const monitor_t&); const monitor_t &operator = (const monitor_t&); }; |