diff options
Diffstat (limited to 'mask.h')
-rw-r--r-- | mask.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/mask.h b/mask.h deleted file mode 100644 index 6d4790a3..00000000 --- a/mask.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef _MASK_H -#define _MASK_H - -#include <string> -#include <exception> - -#include "error.h" - -class mask_t -{ - public: - bool exclude; - std::string pattern; - void * regexp; - - explicit mask_t(const std::string& pattern); - mask_t(const mask_t&); - ~mask_t(); - - bool match(const std::string& str) const; -}; - -class mask_error : public error { - public: - mask_error(const std::string& reason) throw() : error(reason) {} - virtual ~mask_error() throw() {} -}; - -#endif // _MASK_H |