summaryrefslogtreecommitdiff
path: root/include/ReadJob.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ReadJob.h')
-rw-r--r--include/ReadJob.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/ReadJob.h b/include/ReadJob.h
index 19009a6..2d53125 100644
--- a/include/ReadJob.h
+++ b/include/ReadJob.h
@@ -4,14 +4,18 @@
#include <Task.h>
#include <Handle.h>
+#include <regex.h>
class ReadJob : public Task {
public:
- ReadJob(Handle &, Handle &);
+ ReadJob(Handle *, Handle *, String = "^$", int = REG_EXTENDED);
virtual ~ReadJob();
virtual int Do();
+ virtual String GetName();
private:
- Handle s, d;
+ Handle * s, * d;
+ int current;
+ regex_t * preg;
};
#else