mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 11:50:05 +00:00 
			
		
		
		
	Create alert manager to handle audio alert location method
- Will also manage receipt of alerts for playing audio
This commit is contained in:
		
							parent
							
								
									212f2700b7
								
							
						
					
					
						commit
						6ec594144d
					
				
					 4 changed files with 116 additions and 2 deletions
				
			
		
							
								
								
									
										32
									
								
								scwx-qt/source/scwx/qt/manager/alert_manager.hpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								scwx-qt/source/scwx/qt/manager/alert_manager.hpp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,32 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <memory> | ||||
| 
 | ||||
| #include <QObject> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
| namespace qt | ||||
| { | ||||
| namespace manager | ||||
| { | ||||
| 
 | ||||
| class AlertManager : public QObject | ||||
| { | ||||
|    Q_OBJECT | ||||
|    Q_DISABLE_COPY_MOVE(AlertManager) | ||||
| 
 | ||||
| public: | ||||
|    explicit AlertManager(); | ||||
|    ~AlertManager(); | ||||
| 
 | ||||
|    static std::shared_ptr<AlertManager> Instance(); | ||||
| 
 | ||||
| private: | ||||
|    class Impl; | ||||
|    std::unique_ptr<Impl> p; | ||||
| }; | ||||
| 
 | ||||
| } // namespace manager
 | ||||
| } // namespace qt
 | ||||
| } // namespace scwx
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat