summaryrefslogtreecommitdiffstats
blob: 0b4df21634b3c8ee46d7f700d3d4a9d0eea40953 (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);
    };
}