summaryrefslogtreecommitdiff
path: root/DecoderOutputFramer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'DecoderOutputFramer.hpp')
-rw-r--r--DecoderOutputFramer.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/DecoderOutputFramer.hpp b/DecoderOutputFramer.hpp
index ef020226..3b520afd 100644
--- a/DecoderOutputFramer.hpp
+++ b/DecoderOutputFramer.hpp
@@ -14,7 +14,10 @@ class DecoderOutputFramer
public:
enum class EventType
{
+ Ready,
+ Error,
Started,
+ Rejected,
Record,
Finished,
Malformed
@@ -26,6 +29,8 @@ public:
qint32 generation;
QByteArray rawLine;
DecoderIpc::Completion completion;
+ qint32 protocolVersion {0};
+ QByteArray errorStatus {};
};
using EventHandler = std::function<void (Event const&)>;