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