summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-04 22:38:08 +0000
committerPixel <Pixel>2001-11-04 22:38:08 +0000
commit50cef89f47dbc14b00639351463aba20ca4320a0 (patch)
treec685986ac356a72f63c7ab012b601c3b27a5fe30 /include
parent0fdaa819beb21a2c03c3be5ecf9533ef84b9eb4a (diff)
Cleaning a bit...
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