diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-04-17 14:40:41 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2018-04-04 16:52:40 -0400 |
commit | c2f672fb1960399389dea9cdd8f76d7156c2c88b (patch) | |
tree | df6d5a27cc5cbc4281614991c138b33921e6fe1b /src/interface/node.h | |
parent | 3d619e9d3658e36cba4a19a5bed33e5538317b27 (diff) | |
download | bitcoin-c2f672fb1960399389dea9cdd8f76d7156c2c88b.tar.xz |
Remove direct bitcoin calls from qt/utilitydialog.cpp
Diffstat (limited to 'src/interface/node.h')
-rw-r--r-- | src/interface/node.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interface/node.h b/src/interface/node.h index 00304cce24..60ef9cce1b 100644 --- a/src/interface/node.h +++ b/src/interface/node.h @@ -5,6 +5,7 @@ #ifndef BITCOIN_INTERFACE_NODE_H #define BITCOIN_INTERFACE_NODE_H +#include <init.h> // For HelpMessageMode #include <netaddress.h> // For Network #include <functional> @@ -62,6 +63,9 @@ public: //! Return whether shutdown was requested. virtual bool shutdownRequested() = 0; + //! Get help message string. + virtual std::string helpMessage(HelpMessageMode mode) = 0; + //! Map port. virtual void mapPort(bool use_upnp) = 0; |