aboutsummaryrefslogtreecommitdiffstats
path: root/gui/emb.h
blob: f76588f58c55bff9f99f6c2f75c3474fe7c11e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//
// Copyright (C) 2011 Mateusz Loskot <mateusz@loskot.net>
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Blog article: http://mateusz.loskot.net/?p=2819

#include <functional>
#include <iostream>
#include <string>

namespace emb
{
    typedef std::function<void(std::string)> stdout_write_type;

    void set_stdout(stdout_write_type write);
    void reset_stdout();
    
    void append_inittab();
} // namespace emb