interfaces: Add remove to Wallet

This commit is contained in:
João Barbosa
2019-01-17 17:37:46 +00:00
parent 029d28a7aa
commit f6122abe03
2 changed files with 7 additions and 0 deletions

View File

@@ -247,6 +247,9 @@ public:
// Get default change type.
virtual OutputType getDefaultChangeType() = 0;
// Remove wallet.
virtual void remove() = 0;
//! Register handler for unload message.
using UnloadFn = std::function<void()>;
virtual std::unique_ptr<Handler> handleUnload(UnloadFn fn) = 0;