diff options
author | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-08-24 01:57:41 +0300 |
---|---|---|
committer | Daria Volvenkova <d.volvenkova@corp.mail.ru> | 2016-08-25 11:15:12 +0300 |
commit | 10b22b77e2e6e5ef298fe4b1c58ac1e99ac86083 (patch) | |
tree | d6a163911c6867f9e022f609e9f9071eb4ee5d7d /drape_frontend/message_queue.hpp | |
parent | 0f11b6d6302f9c4b928e982c2f838f25f676b1c8 (diff) |
Filter context dependent messages.
Diffstat (limited to 'drape_frontend/message_queue.hpp')
-rw-r--r-- | drape_frontend/message_queue.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drape_frontend/message_queue.hpp b/drape_frontend/message_queue.hpp index 2562d4954c..6caaa1f292 100644 --- a/drape_frontend/message_queue.hpp +++ b/drape_frontend/message_queue.hpp @@ -27,6 +27,9 @@ public: void CancelWait(); void ClearQuery(); + using TFilterMessageFn = function<bool (ref_ptr<Message>)>; + void FilterMessages(TFilterMessageFn needFilterMessageFn); + #ifdef DEBUG_MESSAGE_QUEUE bool IsEmpty() const; size_t GetSize() const; |