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