blob: 5ccfa5ae1d72449b2f1dd963d69faaa8f7155bb3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef NEWSBOAT_RELOADTHREAD_H_
#define NEWSBOAT_RELOADTHREAD_H_
#include "configcontainer.h"
#include "controller.h"
namespace newsboat {
class ReloadThread {
public:
ReloadThread(Controller* c, ConfigContainer& cf);
virtual ~ReloadThread();
void operator()();
private:
Controller* ctrl;
time_t oldtime;
time_t waittime_sec;
bool suppressed_first;
ConfigContainer& cfg;
};
} // namespace newsboat
#endif /* NEWSBOAT_RELOADTHREAD_H_ */
|