summaryrefslogtreecommitdiff
path: root/include/core/match.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/match.h')
-rw-r--r--include/core/match.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/core/match.h b/include/core/match.h
index dcf10ae..4afbec7 100644
--- a/include/core/match.h
+++ b/include/core/match.h
@@ -49,10 +49,13 @@ class CompMatch {
CompMatch (const CompMatch &);
~CompMatch ();
+ static const CompMatch emptyMatch;
+
void update ();
bool evaluate (CompWindow *window);
- CompString toString ();
+ CompString toString () const;
+ bool isEmpty () const;
CompMatch & operator= (const CompMatch &);
CompMatch & operator&= (const CompMatch &);
@@ -69,7 +72,8 @@ class CompMatch {
const CompMatch & operator& (const CompString &);
const CompMatch & operator| (const CompString &);
- bool operator== (const CompMatch &);
+ bool operator== (const CompMatch &) const;
+ bool operator!= (const CompMatch &) const;
private:
PrivateMatch *priv;