diff options
Diffstat (limited to 'Swift/Controllers/Chat/ChatMessageParser.h')
| -rw-r--r-- | Swift/Controllers/Chat/ChatMessageParser.h | 23 | 
1 files changed, 23 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatMessageParser.h b/Swift/Controllers/Chat/ChatMessageParser.h new file mode 100644 index 0000000..c9b9456 --- /dev/null +++ b/Swift/Controllers/Chat/ChatMessageParser.h @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2013 Kevin Smith + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include <string> + +#include <Swift/Controllers/UIInterfaces/ChatWindow.h> + +namespace Swift { + +	class ChatMessageParser { +		public: +			ChatMessageParser(const std::map<std::string, std::string>& emoticons); +			ChatWindow::ChatMessage parseMessageBody(const std::string& body); +		private: +			std::map<std::string, std::string> emoticons_; + +	}; +}  | 
 Swift