summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/Highlighter.h')
-rw-r--r--Swift/Controllers/Highlighter.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Swift/Controllers/Highlighter.h b/Swift/Controllers/Highlighter.h
index d5d846b..5d5f531 100644
--- a/Swift/Controllers/Highlighter.h
+++ b/Swift/Controllers/Highlighter.h
@@ -4,9 +4,16 @@
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2016 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
#include <string>
+#include <vector>
#include <Swift/Controllers/HighlightRule.h>
@@ -24,7 +31,7 @@ namespace Swift {
void setNick(const std::string& nick) { nick_ = nick; }
std::string getNick() const { return nick_; }
- HighlightAction findAction(const std::string& body, const std::string& sender) const;
+ HighlightAction findFirstFullMessageMatchAction(const std::string& body, const std::string& sender) const;
void handleHighlightAction(const HighlightAction& action);