summaryrefslogtreecommitdiff
path: root/include/ReadJob.h
blob: 7d4bfc7f1918952bfe1a44adc1ea1d0bb77ab064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __READJOB_H__
#define __READJOB_H__
#ifdef __cplusplus

#include <Task.h>
#include <Handle.h>
#include <Regex.h>

class ReadJob : public Task {
  public:
      ReadJob(Handle *, Handle *, const Regex & = empty);
      virtual ~ReadJob();
    virtual int Do() throw (GeneralException);
    virtual String GetName();

  private:
    Handle * s, * d;
    const Regex * regex;
};

#else
#error This only works with a C++ compiler
#endif
#endif