summaryrefslogtreecommitdiff
path: root/src/ClientPattern.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/ClientPattern.hh')
-rw-r--r--src/ClientPattern.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClientPattern.hh b/src/ClientPattern.hh
index 611adeb..4e25cb5 100644
--- a/src/ClientPattern.hh
+++ b/src/ClientPattern.hh
@@ -74,6 +74,8 @@ public:
74 bool addTerm(const std::string &str, WinProperty prop, bool negate = false); 74 bool addTerm(const std::string &str, WinProperty prop, bool negate = false);
75 75
76 void addMatch() { ++m_nummatches; } 76 void addMatch() { ++m_nummatches; }
77 void removeMatch() { --m_nummatches; }
78 void resetMatches() { m_nummatches = 0; }
77 79
78 // whether this pattern has identical matching criteria 80 // whether this pattern has identical matching criteria
79 bool operator ==(const ClientPattern &pat) const; 81 bool operator ==(const ClientPattern &pat) const;