Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/chain.cpp
Show First 20 Lines • Show All 360 Lines • ▼ Show 20 Lines | public: | ||||
::uiInterface.InitMessage(message); | ::uiInterface.InitMessage(message); | ||||
} | } | ||||
void initWarning(const std::string &message) override { | void initWarning(const std::string &message) override { | ||||
InitWarning(message); | InitWarning(message); | ||||
} | } | ||||
void initError(const std::string &message) override { | void initError(const std::string &message) override { | ||||
InitError(message); | InitError(message); | ||||
} | } | ||||
void loadWallet(std::unique_ptr<Wallet> wallet) override { | |||||
::uiInterface.LoadWallet(wallet); | |||||
} | |||||
void showProgress(const std::string &title, int progress, | void showProgress(const std::string &title, int progress, | ||||
bool resume_possible) override { | bool resume_possible) override { | ||||
::uiInterface.ShowProgress(title, progress, resume_possible); | ::uiInterface.ShowProgress(title, progress, resume_possible); | ||||
} | } | ||||
std::unique_ptr<Handler> handleNotifications( | std::unique_ptr<Handler> handleNotifications( | ||||
std::shared_ptr<Notifications> notifications) override { | std::shared_ptr<Notifications> notifications) override { | ||||
return std::make_unique<NotificationsHandlerImpl>( | return std::make_unique<NotificationsHandlerImpl>( | ||||
std::move(notifications)); | std::move(notifications)); | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |