/* Copyright: © 2018 SIL International. Description: Internal context class and adaptor class for the API. Create Date: 2 Oct 2018 Authors: Tim Eves (TSE) History: 2 Oct 2018 - TSE - Refactored out of km_kbp_context_api.cpp */ #pragma once #include #include #include // Forward declarations class json; namespace km { namespace kbp { // This will likely be replaced with a class implementing a more space // efficient data structure such as a ring buffer or bounded queue. using context = std::list; } // namespace kbp } // namespace km json & operator << (json &, km::kbp::context const &); json & operator << (json &, km_kbp_context_item const &); struct km_kbp_context : public km::kbp::context { };