mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 00:10:06 +00:00 
			
		
		
		
	Rename IEM warnings provider to IEM API provider
This commit is contained in:
		
							parent
							
								
									cf87cc9bf0
								
							
						
					
					
						commit
						f9e79b3e40
					
				
					 5 changed files with 25 additions and 25 deletions
				
			
		
							
								
								
									
										39
									
								
								wxdata/include/scwx/provider/iem_api_provider.hpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								wxdata/include/scwx/provider/iem_api_provider.hpp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,39 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <scwx/awips/text_product_file.hpp> | ||||
| 
 | ||||
| #include <memory> | ||||
| #include <string> | ||||
| 
 | ||||
| namespace scwx::provider | ||||
| { | ||||
| 
 | ||||
| /**
 | ||||
|  * @brief Warnings Provider | ||||
|  */ | ||||
| class IemApiProvider | ||||
| { | ||||
| public: | ||||
|    explicit IemApiProvider(); | ||||
|    ~IemApiProvider(); | ||||
| 
 | ||||
|    IemApiProvider(const IemApiProvider&)            = delete; | ||||
|    IemApiProvider& operator=(const IemApiProvider&) = delete; | ||||
| 
 | ||||
|    IemApiProvider(IemApiProvider&&) noexcept; | ||||
|    IemApiProvider& operator=(IemApiProvider&&) noexcept; | ||||
| 
 | ||||
|    static std::vector<std::string> | ||||
|    ListTextProducts(std::chrono::sys_time<std::chrono::days> date, | ||||
|                     std::optional<std::string_view>          cccc = {}, | ||||
|                     std::optional<std::string_view>          pil  = {}); | ||||
| 
 | ||||
|    static std::vector<std::shared_ptr<awips::TextProductFile>> | ||||
|    LoadTextProducts(const std::vector<std::string>& textProducts); | ||||
| 
 | ||||
| private: | ||||
|    class Impl; | ||||
|    std::unique_ptr<Impl> p; | ||||
| }; | ||||
| 
 | ||||
| } // namespace scwx::provider
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat