32 #ifndef LEDGER_CORE_ABSTRACTACCOUNTSYNCHRONIZER_H 33 #define LEDGER_CORE_ABSTRACTACCOUNTSYNCHRONIZER_H 38 #include <events/ProgressNotifier.h> 44 template<
typename Account>
47 virtual void reset(
const std::shared_ptr<Account>& account,
const std::chrono::system_clock::time_point& toDate) = 0;
48 virtual std::shared_ptr<ProgressNotifier<Unit>> synchronize(
const std::shared_ptr<Account>& account) = 0;
49 virtual bool isSynchronizing()
const = 0;
55 #endif //LEDGER_CORE_ABSTRACTACCOUNTSYNCHRONIZER_H Definition: AbstractAccountSynchronizer.h:45
Definition: Account.cpp:8