~ubuntu-branches/ubuntu/maverick/newsbeuter/maverick

« back to all changes in this revision

Viewing changes to include/reloadthread.h

  • Committer: Bazaar Package Importer
  • Author(s): Nico Golde
  • Date: 2007-04-21 19:44:35 UTC
  • Revision ID: james.westby@ubuntu.com-20070421194435-21g6134ws2yvarlt
Tags: upstream-0.3
ImportĀ upstreamĀ versionĀ 0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef RELOADTHREAD_H_
 
2
#define RELOADTHREAD_H_
 
3
 
 
4
#include <thread.h>
 
5
#include <controller.h>
 
6
 
 
7
namespace newsbeuter
 
8
{
 
9
 
 
10
class reloadthread : public thread
 
11
{
 
12
public:
 
13
        reloadthread(controller * c, unsigned int wt_sec);
 
14
        virtual ~reloadthread();
 
15
protected:
 
16
        virtual void run();
 
17
private:
 
18
        controller * ctrl;
 
19
        time_t oldtime;
 
20
        unsigned int waittime_sec;
 
21
};
 
22
 
 
23
}
 
24
 
 
25
#endif