mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 06:40:05 +00:00 
			
		
		
		
	Timeline Manager should have knowledge of radar site
This commit is contained in:
		
							parent
							
								
									a7a34e063c
								
							
						
					
					
						commit
						4bba7f4c64
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		|  | @ -26,6 +26,7 @@ public: | |||
| 
 | ||||
|    void SelectTime(std::chrono::system_clock::time_point selectedTime = {}); | ||||
| 
 | ||||
|    std::string                           radarSite_ {"?"}; | ||||
|    std::chrono::system_clock::time_point pinnedTime_ {}; | ||||
|    std::chrono::system_clock::time_point currentTime_ {}; | ||||
|    types::MapTime                        viewType_ {types::MapTime::Live}; | ||||
|  | @ -36,6 +37,11 @@ public: | |||
| TimelineManager::TimelineManager() : p(std::make_unique<Impl>(this)) {} | ||||
| TimelineManager::~TimelineManager() = default; | ||||
| 
 | ||||
| void TimelineManager::SetRadarSite(const std::string& radarSite) | ||||
| { | ||||
|    p->radarSite_ = radarSite; | ||||
| } | ||||
| 
 | ||||
| void TimelineManager::SetDateTime( | ||||
|    std::chrono::system_clock::time_point dateTime) | ||||
| { | ||||
|  |  | |||
|  | @ -25,6 +25,8 @@ public: | |||
|    static std::shared_ptr<TimelineManager> Instance(); | ||||
| 
 | ||||
| public slots: | ||||
|    void SetRadarSite(const std::string& radarSite); | ||||
| 
 | ||||
|    void SetDateTime(std::chrono::system_clock::time_point dateTime); | ||||
|    void SetViewType(types::MapTime viewType); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat