printer.capnp raw
1 # Copyright (c) The Bitcoin Core developers
2 # Distributed under the MIT software license, see the accompanying
3 # file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5 @0x893db95f456ed0e3;
6
7 using Cxx = import "/capnp/c++.capnp";
8 using Proxy = import "/mp/proxy.capnp";
9
10 $Proxy.include("printer.h");
11 $Proxy.includeTypes("types.h");
12
13 interface PrinterInterface $Proxy.wrap("Printer") {
14 destroy @0 (context :Proxy.Context) -> ();
15 print @1 (context :Proxy.Context, text: Text) -> ();
16 }
17