32 #ifndef LEDGER_CORE_RIPPLELIKEWALLETFACTORY_H 33 #define LEDGER_CORE_RIPPLELIKEWALLETFACTORY_H 38 #include <wallet/common/AbstractWalletFactory.hpp> 39 #include <wallet/ripple/synchronizers/RippleLikeAccountSynchronizer.h> 40 #include <wallet/ripple/explorers/RippleLikeBlockchainExplorer.h> 41 #include <wallet/ripple/observers/RippleLikeBlockchainObserver.h> 42 #include <wallet/ripple/factories/RippleLikeKeychainFactory.h> 44 #include <api/Currency.hpp> 49 using RippleLikeAccountSynchronizerFactory = std::function<std::shared_ptr<RippleLikeAccountSynchronizer> ()>;
58 std::shared_ptr<RippleLikeBlockchainExplorer> getExplorer(
const std::string& currencyName,
const std::shared_ptr<api::DynamicObject>& configuration);
59 std::shared_ptr<RippleLikeBlockchainObserver> getObserver(
const std::string& currencyName,
const std::shared_ptr<api::DynamicObject>& configuration);
62 std::list<std::weak_ptr<RippleLikeBlockchainExplorer>> _runningExplorers;
65 std::list<std::weak_ptr<RippleLikeBlockchainObserver>> _runningObservers;
68 std::unordered_map<std::string, std::shared_ptr<RippleLikeKeychainFactory>> _keychainFactories;
76 #endif //LEDGER_CORE_RIPPLELIKEWALLETFACTORY_H Definition: AbstractWalletFactory.hpp:40
Definition: RippleLikeWalletFactory.h:52
Definition: WalletDatabaseEntry.hpp:39
Definition: Currency.hpp:23
Definition: Account.cpp:8