mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:52:44 +00:00 
			
		
		
		
	AK: Move Stream and SeekableStream from LibCore
				
					
				
			`Stream` will be qualified as `AK::Stream` until we remove the `Core::Stream` namespace. `IODevice` now reuses the `SeekMode` that is defined by `SeekableStream`, since defining its own would require us to qualify it with `AK::SeekMode` everywhere.
This commit is contained in:
		
							parent
							
								
									5f2ea31816
								
							
						
					
					
						commit
						8464da1439
					
				
					 96 changed files with 620 additions and 586 deletions
				
			
		|  | @ -148,7 +148,7 @@ private: | |||
|     { | ||||
|         if (file) { | ||||
|             // Seeking to the beginning causes a data refresh!
 | ||||
|             TRY(file->seek(0, Core::Stream::SeekMode::SetPosition)); | ||||
|             TRY(file->seek(0, SeekMode::SetPosition)); | ||||
|         } else { | ||||
|             file = TRY(Core::Stream::File::open(filename, Core::Stream::OpenMode::Read)); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Schumacher
						Tim Schumacher