feat: LogosResult (#14)

* Add LogosResult

* Add documentation for complex types

* Add get type util function

* Add more shorthand functions

* Add bool support

* Provide more shorthand functions

* Throw exception on bad access

* Fix typo in doc
This commit is contained in:
Arnaud
2026-02-25 09:13:43 -05:00
committed by GitHub
parent 30ef7986f4
commit 4fdf157120
10 changed files with 297 additions and 5 deletions
+11
View File
@@ -0,0 +1,11 @@
#include "logos_types.h"
QDataStream& operator<<(QDataStream& out, const LogosResult& result) {
out << result.success << result.value;
return out;
}
QDataStream& operator>>(QDataStream& in, LogosResult& result) {
in >> result.success >> result.value;
return in;
}