mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:10:04 +00:00 
			
		
		
		
	Create IemWarningsProvider class for archive warnings
This commit is contained in:
		
							parent
							
								
									d34cd68471
								
							
						
					
					
						commit
						895e760fee
					
				
					 3 changed files with 59 additions and 0 deletions
				
			
		
							
								
								
									
										29
									
								
								wxdata/source/scwx/provider/iem_warnings_provider.cpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								wxdata/source/scwx/provider/iem_warnings_provider.cpp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,29 @@ | |||
| #include <scwx/provider/iem_warnings_provider.hpp> | ||||
| #include <scwx/util/logger.hpp> | ||||
| 
 | ||||
| namespace scwx::provider | ||||
| { | ||||
| 
 | ||||
| static const std::string logPrefix_ = "scwx::provider::iem_warnings_provider"; | ||||
| static const auto        logger_    = util::Logger::Create(logPrefix_); | ||||
| 
 | ||||
| class IemWarningsProvider::Impl | ||||
| { | ||||
| public: | ||||
|    explicit Impl()               = default; | ||||
|    ~Impl()                       = default; | ||||
|    Impl(const Impl&)             = delete; | ||||
|    Impl& operator=(const Impl&)  = delete; | ||||
|    Impl(const Impl&&)            = delete; | ||||
|    Impl& operator=(const Impl&&) = delete; | ||||
| }; | ||||
| 
 | ||||
| IemWarningsProvider::IemWarningsProvider() : p(std::make_unique<Impl>()) {} | ||||
| IemWarningsProvider::~IemWarningsProvider() = default; | ||||
| 
 | ||||
| IemWarningsProvider::IemWarningsProvider(IemWarningsProvider&&) noexcept = | ||||
|    default; | ||||
| IemWarningsProvider& | ||||
| IemWarningsProvider::operator=(IemWarningsProvider&&) noexcept = default; | ||||
| 
 | ||||
| } // namespace scwx::provider
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat