Use the univeral tresult in IComponent creation

This commit is contained in:
Robbert van der Helm
2020-12-11 23:54:30 +01:00
parent 91a47a466c
commit e24cecc6d7
7 changed files with 49 additions and 28 deletions
+9
View File
@@ -52,6 +52,15 @@ struct Ack {
*/
class UniversalTResult {
public:
/**
* The default constructor will initialize the value to `kResutlFalse` and
* should only ever be used by bitsery in the serialization process.
*/
UniversalTResult();
/**
* Convert a native tresult into a univeral one.
*/
UniversalTResult(tresult native_result);
/**