diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
| commit | 059831534c7e884f0a607ed86b582fd00d821731 (patch) | |
| tree | 76bcb67a78f8aa2654fd34c2ad801a62136b0170 /Decoder/decodedtext.h | |
| parent | d83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff) | |
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'Decoder/decodedtext.h')
| -rw-r--r-- | Decoder/decodedtext.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Decoder/decodedtext.h b/Decoder/decodedtext.h index 1e6706b5..d911c53a 100644 --- a/Decoder/decodedtext.h +++ b/Decoder/decodedtext.h @@ -11,7 +11,15 @@ #include <QString> +struct DecodedMessageFields +{ + QString destination; + QString sender; + QString grid; + bool cq {}; +}; +DecodedMessageFields parseDecodedMessage (QString message); /* 012345678901234567890123456789012345678901 @@ -33,6 +41,7 @@ public: QString string() const { return string_; }; QString clean_string() const { return clean_string_; }; + QString message() const { return message_; }; QStringList messageWords () const; int indexOf(QString s) const { return string_.indexOf(s); }; int indexOf(QString s, int i) const { return string_.indexOf(s,i); }; |
