diff options
author | Pixel <Pixel> | 2001-11-04 22:38:08 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-11-04 22:38:08 +0000 |
commit | 50cef89f47dbc14b00639351463aba20ca4320a0 (patch) | |
tree | c685986ac356a72f63c7ab012b601c3b27a5fe30 /include | |
parent | 0fdaa819beb21a2c03c3be5ecf9533ef84b9eb4a (diff) |
Cleaning a bit...
Diffstat (limited to 'include')
-rw-r--r-- | include/ReadJob.h | 3 | ||||
-rw-r--r-- | include/Regex.h | 8 |
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 |