summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/HighlightRule.h')
-rw-r--r--Swift/Controllers/HighlightRule.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/Controllers/HighlightRule.h b/Swift/Controllers/HighlightRule.h
index fdc6109..02b4864 100644
--- a/Swift/Controllers/HighlightRule.h
+++ b/Swift/Controllers/HighlightRule.h
@@ -2,13 +2,13 @@
* Copyright (c) 2012 Maciej Niedzielski
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
/*
- * Copyright (c) 2014 Isode Limited.
+ * Copyright (c) 2014-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
@@ -81,12 +81,14 @@ namespace Swift {
bool matchChat_;
bool matchMUC_;
HighlightAction action_;
};
+ bool operator ==(HighlightRule const& a, HighlightRule const& b);
+
template<class Archive>
void HighlightRule::serialize(Archive& ar, const unsigned int /*version*/)
{
ar & senders_;
ar & keywords_;
ar & nickIsKeyword_;