summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Maudsley <richard.maudsley@isode.com>2014-01-22 09:11:05 (GMT)
committerRichard Maudsley <richard.maudsley@isode.com>2014-01-22 09:11:05 (GMT)
commit90d05f4fc34d5ee81593ffacd6333a3ee3787072 (patch)
treea47a6cab8c8d1f7bfa6f4b11247de3e1ca2007ab /Swift/Controllers/Chat/ChatMessageParser.cpp
parent63ced97ecbd91cb73f91cd8571bdf49ef9f36988 (diff)
downloadswift-90d05f4fc34d5ee81593ffacd6333a3ee3787072.zip
swift-90d05f4fc34d5ee81593ffacd6333a3ee3787072.tar.bz2
Preparing to add ChatMessage highlight rules.
Change-Id: I71419e255b821dfaec9a8f23316f927193e975c5
Diffstat (limited to 'Swift/Controllers/Chat/ChatMessageParser.cpp')
-rw-r--r--Swift/Controllers/Chat/ChatMessageParser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/ChatMessageParser.cpp b/Swift/Controllers/Chat/ChatMessageParser.cpp
index ce184ea..8449901 100644
--- a/Swift/Controllers/Chat/ChatMessageParser.cpp
+++ b/Swift/Controllers/Chat/ChatMessageParser.cpp
@@ -20,7 +20,8 @@
namespace Swift {
- ChatMessageParser::ChatMessageParser(const std::map<std::string, std::string>& emoticons) : emoticons_(emoticons) {
+ ChatMessageParser::ChatMessageParser(const std::map<std::string, std::string>& emoticons, const std::vector<HighlightRule>& highlightRules)
+ : emoticons_(emoticons), highlightRules_(highlightRules) {
}