ledger-core
TrustIndicator.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from wallet.djinni
3 
4 #ifndef DJINNI_GENERATED_TRUSTINDICATOR_HPP
5 #define DJINNI_GENERATED_TRUSTINDICATOR_HPP
6 
7 #include <cstdint>
8 #include <string>
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 enum class TrustLevel;
21 
23 class LIBCORE_EXPORT TrustIndicator {
24 public:
25  virtual ~TrustIndicator() {}
26 
27  virtual int32_t getTrustWeight() = 0;
28 
29  virtual TrustLevel getTrustLevel() = 0;
30 
31  virtual std::vector<std::string> getConflictingOperationUids() = 0;
32 
33  virtual std::string getOrigin() = 0;
34 };
35 
36 } } } // namespace ledger::core::api
37 #endif //DJINNI_GENERATED_TRUSTINDICATOR_HPP
Definition: TrustIndicator.hpp:23
Definition: Account.cpp:8