mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 16:20:06 +00:00
Update alert signal to include message index, so messages aren't missed
This commit is contained in:
parent
5784abc117
commit
1c5e0d51b7
4 changed files with 16 additions and 12 deletions
|
|
@ -23,7 +23,7 @@ public:
|
|||
explicit TextEventManager();
|
||||
~TextEventManager();
|
||||
|
||||
std::list<std::shared_ptr<awips::TextProductMessage>>
|
||||
std::vector<std::shared_ptr<awips::TextProductMessage>>
|
||||
message_list(const types::TextEventKey& key) const;
|
||||
|
||||
void LoadFile(const std::string& filename);
|
||||
|
|
@ -31,7 +31,7 @@ public:
|
|||
static TextEventManager& Instance();
|
||||
|
||||
signals:
|
||||
void AlertUpdated(const types::TextEventKey& key);
|
||||
void AlertUpdated(const types::TextEventKey& key, size_t messageIndex);
|
||||
|
||||
private:
|
||||
class Impl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue