ZDK
IResult.h
1 #ifndef __IResult__
2 #define __IResult__
3 
4 #include "Types/ResultCode.h"
5 #include "Types/SharedPointerTypes.h"
6 #include "IZHandle.h"
7 
8 namespace ZDK
9 {
10 
11 //# @abi(all) documentation
16 class IResult : public virtual ZDK::IZHandle
17 {
18 public:
19  //# @abi(all) documentation
24  //# @abi(all) property
25  virtual ZDK::Shared::String Text() const = 0;
26 
27  //# @abi(all) documentation
34  //# @abi(all) property
35  virtual ZDK::ResultCode Code() const = 0;
36 };
37 
38 } //namespace ZDK
39 
40 #endif //__IResult__
Definition: IZHandle.h:12
virtual ZDK::Shared::String Text() const =0
Gets the text representation of the status result of API invocation.
API invocation status result.
Definition: IResult.h:16
virtual ZDK::ResultCode Code() const =0
Gets the code representation of the status result of API invocation.
Definition: IAccountConfig.h:10