summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ReadJob.h3
-rw-r--r--include/Regex.h8
2 files changed, 9 insertions, 2 deletions
diff --git a/include/ReadJob.h b/include/ReadJob.h
index 2d53125..be846fb 100644
--- a/include/ReadJob.h
+++ b/include/ReadJob.h
@@ -8,14 +8,13 @@
class ReadJob : public Task {
public:
- ReadJob(Handle *, Handle *, String = "^$", int = REG_EXTENDED);
+ ReadJob(Handle *, Handle *);
virtual ~ReadJob();
virtual int Do();
virtual String GetName();
private:
Handle * s, * d;
int current;
- regex_t * preg;
};
#else
diff --git a/include/Regex.h b/include/Regex.h
new file mode 100644
index 0000000..363be99
--- /dev/null
+++ b/include/Regex.h
@@ -0,0 +1,8 @@
+#ifndef __REGEX_H__
+#define __REGEX_H__
+#ifdef __cplusplus
+
+#else
+#error This only works with a C++ compiler
+#endif
+#endif