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