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

#pragma once

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

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

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