Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
wallet_plugin.hpp
Go to the documentation of this file.
1#pragma once
3#include <fc/variant.hpp>
6
7namespace fc { class variant; }
8
9namespace sysio {
10 using namespace appbase;
11
12 namespace wallet {
13 class wallet_manager;
14 }
15 using namespace wallet;
16
17class wallet_plugin : public plugin<wallet_plugin> {
18public:
20
22 wallet_plugin(const wallet_plugin&) = delete;
26 virtual ~wallet_plugin() override = default;
27
28 virtual void set_program_options(options_description& cli, options_description& cfg) override;
29 void plugin_initialize(const variables_map& options);
32
33 // api interface provider
35
36private:
37 std::unique_ptr<wallet_manager> wallet_manager_ptr;
38};
39
40}
void plugin_initialize(const variables_map &options)
wallet_manager & get_wallet_manager()
virtual ~wallet_plugin() override=default
wallet_plugin & operator=(wallet_plugin &&)=delete
wallet_plugin(const wallet_plugin &)=delete
wallet_plugin(wallet_plugin &&)=delete
wallet_plugin & operator=(const wallet_plugin &)=delete
virtual void set_program_options(options_description &cli, options_description &cfg) override
namespace sysio::chain
Definition authority.cpp:3
#define APPBASE_PLUGIN_REQUIRES(PLUGINS)
Definition plugin.hpp:11
void cli()