ledger-core
CurrencyListCallback.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from callback.djinni
3 
4 #ifndef DJINNI_GENERATED_CURRENCYLISTCALLBACK_HPP
5 #define DJINNI_GENERATED_CURRENCYLISTCALLBACK_HPP
6 
7 #include "../utils/optional.hpp"
8 #include <vector>
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 struct Currency;
20 struct Error;
21 
24 public:
25  virtual ~CurrencyListCallback() {}
26 
32  virtual void onCallback(const std::experimental::optional<std::vector<Currency>> & result, const std::experimental::optional<Error> & error) = 0;
33 };
34 
35 } } } // namespace ledger::core::api
36 #endif //DJINNI_GENERATED_CURRENCYLISTCALLBACK_HPP
Definition: CurrencyListCallback.hpp:23
Definition: Account.cpp:8
Definition: optional.hpp:177
virtual void onCallback(const std::experimental::optional< std::vector< Currency >> &result, const std::experimental::optional< Error > &error)=0