summaryrefslogtreecommitdiffstats
blob: 9ed867d0c3be403e49505fc584550532a79fa644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2011-2016 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#pragma once

#include <string>
#include <utility>
#include <vector>

namespace Swift {
typedef std::pair<std::string, int> UnreadPair;

	class ChatMessageSummarizer {
		public:
			std::string getSummary(const std::string& current, const std::vector<UnreadPair>& unreads);
	};
}