mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 03:40:05 +00:00 
			
		
		
		
	Add text event pruning
- Still need to prune AlertLayer - Still need to test alerts reload after being pruned
This commit is contained in:
		
							parent
							
								
									4719badc54
								
							
						
					
					
						commit
						f37a77a9f7
					
				
					 6 changed files with 158 additions and 8 deletions
				
			
		|  | @ -6,6 +6,7 @@ | |||
| #include <chrono> | ||||
| #include <memory> | ||||
| #include <string> | ||||
| #include <unordered_set> | ||||
| 
 | ||||
| #include <boost/uuid/uuid.hpp> | ||||
| #include <QObject> | ||||
|  | @ -35,6 +36,10 @@ public: | |||
|    static std::shared_ptr<TextEventManager> Instance(); | ||||
| 
 | ||||
| signals: | ||||
|    void AlertsRemoved( | ||||
|       const std::unordered_set<types::TextEventKey, | ||||
|                                types::TextEventHash<types::TextEventKey>>& | ||||
|          keys); | ||||
|    void AlertUpdated(const types::TextEventKey& key, | ||||
|                      std::size_t                messageIndex, | ||||
|                      boost::uuids::uuid         uuid); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat