mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 21:30:58 +00:00 
			
		
		
		
	 24a5e4e7d5
			
		
	
	
		24a5e4e7d5
		
	
	
	
	
		
			
			This is to prepare for an upcoming change where we will need to track replies to messages by ID. We will be able to add parameters to this structure without having to edit every single actor subclass header file.
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			658 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			658 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2025, Tim Flynn <trflynn89@ladybird.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/NonnullRefPtr.h>
 | |
| #include <LibDevTools/Actor.h>
 | |
| 
 | |
| namespace DevTools {
 | |
| 
 | |
| class TargetConfigurationActor final : public Actor {
 | |
| public:
 | |
|     static constexpr auto base_name = "target-configuration"sv;
 | |
| 
 | |
|     static NonnullRefPtr<TargetConfigurationActor> create(DevToolsServer&, String name);
 | |
|     virtual ~TargetConfigurationActor() override;
 | |
| 
 | |
|     JsonObject serialize_configuration() const;
 | |
| 
 | |
| private:
 | |
|     TargetConfigurationActor(DevToolsServer&, String name);
 | |
| 
 | |
|     virtual void handle_message(Message const&) override;
 | |
| };
 | |
| 
 | |
| }
 |