ledger-core
GetEthreumLikeWalletCallback.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from ethereum_like_wallet.djinni
3 
4 #ifndef DJINNI_GENERATED_GETETHREUMLIKEWALLETCALLBACK_HPP
5 #define DJINNI_GENERATED_GETETHREUMLIKEWALLETCALLBACK_HPP
6 
7 #include <memory>
8 #ifndef LIBCORE_EXPORT
9  #if defined(_MSC_VER)
10  #include <libcore_export.h>
11  #else
12  #define LIBCORE_EXPORT
13  #endif
14 #endif
15 
16 namespace ledger { namespace core { namespace api {
17 
18 class EthereumLikeWallet;
19 struct Error;
20 
23 public:
24  virtual ~GetEthreumLikeWalletCallback() {}
25 
26  virtual void onSuccess(const std::shared_ptr<EthereumLikeWallet> & wallet, bool isCreated) = 0;
27 
28  virtual void onError(const Error & error) = 0;
29 };
30 
31 } } } // namespace ledger::core::api
32 #endif //DJINNI_GENERATED_GETETHREUMLIKEWALLETCALLBACK_HPP
Definition: Error.hpp:14
Definition: Account.cpp:8
Definition: GetEthreumLikeWalletCallback.hpp:22