/* * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #pragma once #include #include /* std::pair */ #include #include namespace Swift { typedef std::pair TypeStringPair; class PreviousStatusStore { public: PreviousStatusStore(); ~PreviousStatusStore(); void addStatus(StatusShow::Type status, const std::string& message); std::vector getSuggestions(const std::string& message); private: std::vector exactMatchSuggestions(StatusShow::Type status, const std::string& message); std::vector store_; }; }