mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:50:06 +00:00 
			
		
		
		
	Initial loading of level 3 file through bzip2 decompression
This commit is contained in:
		
							parent
							
								
									f66a0b46e6
								
							
						
					
					
						commit
						c6ce9c99e4
					
				
					 4 changed files with 181 additions and 4 deletions
				
			
		
							
								
								
									
										33
									
								
								wxdata/include/scwx/wsr88d/level3_file.hpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								wxdata/include/scwx/wsr88d/level3_file.hpp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,33 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <memory> | ||||
| #include <string> | ||||
| 
 | ||||
| namespace scwx | ||||
| { | ||||
| namespace wsr88d | ||||
| { | ||||
| 
 | ||||
| class Level3FileImpl; | ||||
| 
 | ||||
| class Level3File | ||||
| { | ||||
| public: | ||||
|    explicit Level3File(); | ||||
|    ~Level3File(); | ||||
| 
 | ||||
|    Level3File(const Level3File&) = delete; | ||||
|    Level3File& operator=(const Level3File&) = delete; | ||||
| 
 | ||||
|    Level3File(Level3File&&) noexcept; | ||||
|    Level3File& operator=(Level3File&&) noexcept; | ||||
| 
 | ||||
|    bool LoadFile(const std::string& filename); | ||||
|    bool LoadData(std::istream& is); | ||||
| 
 | ||||
| private: | ||||
|    std::unique_ptr<Level3FileImpl> p; | ||||
| }; | ||||
| 
 | ||||
| } // namespace wsr88d
 | ||||
| } // namespace scwx
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat