blob: d4ff188fff1bcadf01f7ea3a04a49794bd593894 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* Copyright (c) 2011 Kevin Smith
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt 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);
};
}
|