blob: 6a6424f26efe3e2b623558cc2d0605f7fc9bfa8b (
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 RELOADTHREAD_H_
#define RELOADTHREAD_H_
#include <thread>
#include <controller.h>
#include <configcontainer.h>
namespace newsbeuter {
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;
};
}
#endif
|