Add const qualifiers to Mask methods
[clinton/bobotpp.git] / source / Mask.H
index 307a30f..4f5f80f 100644 (file)
@@ -27,13 +27,13 @@ public:
   Mask(String);
   Mask(Mask &);
 
-  String getMask();
+  String getMask() const;
   
-  bool matches(String);
-  bool matches(Mask &);
+  bool matches(String) const;
+  bool matches(const Mask &) const;
 
 protected:
-  bool match(const char *, const char *);
+  bool match(const char *, const char *) const;
 };
 
 #endif