diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-07-03 07:45:16 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-07-07 09:58:56 +0200 |
| commit | 73ac7abd08a70adf22e24d0f5f7631e7f8b7c5bb (patch) | |
| tree | 0561a092614fbfd68b29bc415b44b3d1cbe5fff6 /src/bitcoin-cli.cpp | |
| parent | qt: Pick translation messages only from necessary files (diff) | |
| download | discoin-73ac7abd08a70adf22e24d0f5f7631e7f8b7c5bb.tar.xz discoin-73ac7abd08a70adf22e24d0f5f7631e7f8b7c5bb.zip | |
Move ui_interface to bitcoin_server.a
There is no need for it in the utility libraries or tools.
Put it in init.cpp, and in the tests separately (as they can't link init).
Diffstat (limited to 'src/bitcoin-cli.cpp')
| -rw-r--r-- | src/bitcoin-cli.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bitcoin-cli.cpp b/src/bitcoin-cli.cpp index db39df4b1..016b2f50f 100644 --- a/src/bitcoin-cli.cpp +++ b/src/bitcoin-cli.cpp @@ -7,11 +7,12 @@ #include "init.h" #include "rpcclient.h" #include "rpcprotocol.h" -#include "ui_interface.h" /* for _(...) */ #include "chainparamsbase.h" #include <boost/filesystem/operations.hpp> +#define _(x) std::string(x) /* Keep the _() around in case gettext or such will be used later to translate non-UI */ + using namespace std; using namespace boost; using namespace boost::asio; |