ledger-core
WalletPoolCallback.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from callback.djinni
3 
4 #ifndef DJINNI_GENERATED_WALLETPOOLCALLBACK_HPP
5 #define DJINNI_GENERATED_WALLETPOOLCALLBACK_HPP
6 
7 #include "../utils/optional.hpp"
8 #include <memory>
9 #ifndef LIBCORE_EXPORT
10  #if defined(_MSC_VER)
11  #include <libcore_export.h>
12  #else
13  #define LIBCORE_EXPORT
14  #endif
15 #endif
16 
17 namespace ledger { namespace core { namespace api {
18 
19 class WalletPool;
20 struct Error;
21 
24 public:
25  virtual ~WalletPoolCallback() {}
26 
32  virtual void onCallback(const std::shared_ptr<WalletPool> & result, const std::experimental::optional<Error> & error) = 0;
33 };
34 
35 } } } // namespace ledger::core::api
36 #endif //DJINNI_GENERATED_WALLETPOOLCALLBACK_HPP
Definition: WalletPoolCallback.hpp:23
virtual void onCallback(const std::shared_ptr< WalletPool > &result, const std::experimental::optional< Error > &error)=0
Definition: Account.cpp:8
Definition: optional.hpp:177