mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +00:00 
			
		
		
		
	AK: Move the userspace SharedBuffer from LibC to AK
This always felt out-of-place in LibC.
This commit is contained in:
		
							parent
							
								
									38f93ef13b
								
							
						
					
					
						commit
						fc86460134
					
				
					 22 changed files with 41 additions and 24 deletions
				
			
		|  | @ -4,8 +4,11 @@ | |||
| #include <LibIPC/IClientConnection.h> | ||||
| #include <ProtocolServer/ProtocolServerEndpoint.h> | ||||
| 
 | ||||
| class Download; | ||||
| namespace AK { | ||||
| class SharedBuffer; | ||||
| } | ||||
| 
 | ||||
| class Download; | ||||
| 
 | ||||
| class PSClientConnection final : public IClientConnection<ProtocolServerEndpoint> | ||||
|     , public ProtocolServerEndpoint { | ||||
|  | @ -26,5 +29,5 @@ private: | |||
|     virtual OwnPtr<ProtocolServer::StopDownloadResponse> handle(const ProtocolServer::StopDownload&) override; | ||||
|     virtual OwnPtr<ProtocolServer::DisownSharedBufferResponse> handle(const ProtocolServer::DisownSharedBuffer&) override; | ||||
| 
 | ||||
|     HashMap<i32, RefPtr<SharedBuffer>> m_shared_buffers; | ||||
|     HashMap<i32, RefPtr<AK::SharedBuffer>> m_shared_buffers; | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling