aboutsummaryrefslogtreecommitdiffstats
path: root/gui/emb.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-05 21:03:06 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-05 21:03:06 +0200
commit7cb42f4368e873e5930cf84bc2494a8e8172a046 (patch)
treeed773278240546b1b525c066b95a4e69150aabf1 /gui/emb.h
parentbd08f9e698269764d9e06052470d4a699f69f951 (diff)
downloadnextpnr-7cb42f4368e873e5930cf84bc2494a8e8172a046.tar.gz
nextpnr-7cb42f4368e873e5930cf84bc2494a8e8172a046.tar.bz2
nextpnr-7cb42f4368e873e5930cf84bc2494a8e8172a046.zip
Initial GUI work
Diffstat (limited to 'gui/emb.h')
-rw-r--r--gui/emb.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/gui/emb.h b/gui/emb.h
new file mode 100644
index 00000000..f76588f5
--- /dev/null
+++ b/gui/emb.h
@@ -0,0 +1,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