MythTV  master
alarmnotifythread.h
Go to the documentation of this file.
1 #ifndef ALARMNOTIFYTHREAD_H
2 #define ALARMNOTIFYTHREAD_H
3 
4 // Qt headers
5 
6 // MythTV headers
7 #include "mthread.h"
8 
9 // zm
10 #include "zmdefines.h"
11 
12 class AlarmNotifyThread : public MThread
13 {
14  protected:
15  AlarmNotifyThread(void);
16 
18 
19  public:
20  ~AlarmNotifyThread(void);
21 
22  static AlarmNotifyThread *get(void);
23  void stop(void);
24 
25  protected:
26  void run(void) override; // MThread
27 
28  private:
29  volatile bool m_stop;
30 };
31 
32 #endif // ALARMNOTIFYTHREAD_H
This is a wrapper around QThread that does several additional things.
Definition: mthread.h:46
void run(void) override
Runs the Qt event loop unless we have a QRunnable, in which case we run the runnable run instead.
static AlarmNotifyThread * get(void)
volatile bool m_stop
static AlarmNotifyThread * m_alarmNotifyThread