mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-10-31 18:48:11 +08:00 
			
		
		
		
	Execute IWYU
This commit is contained in:
		 ArthurSonzogni
					ArthurSonzogni
				
			
				
					committed by
					
						 Arthur Sonzogni
						Arthur Sonzogni
					
				
			
			
				
	
			
			
			 Arthur Sonzogni
						Arthur Sonzogni
					
				
			
						parent
						
							7f514ff41c
						
					
				
				
					commit
					5c4cd1add1
				
			| @@ -8,13 +8,19 @@ | ||||
|  | ||||
| #include "ftxui/component/component_base.hpp" | ||||
| #include "ftxui/component/component_options.hpp" | ||||
| #include "ftxui/dom/elements.hpp"   // for Element | ||||
| #include "ftxui/util/ref.hpp"       // for ConstStringRef, StringRef | ||||
| #include "ftxui/dom/elements.hpp"  // for Element | ||||
| #include "ftxui/util/ref.hpp"      // for Ref, ConstStringRef, StringRef | ||||
|  | ||||
| namespace ftxui { | ||||
|  | ||||
| class ComponentBase; | ||||
| struct Event; | ||||
| struct ButtonOption; | ||||
| struct CheckboxOption; | ||||
| struct InputOption; | ||||
| struct MenuOption; | ||||
| struct RadioboxOption; | ||||
| struct ToggleOption; | ||||
|  | ||||
| using Component = std::shared_ptr<ComponentBase>; | ||||
| using Components = std::vector<Component>; | ||||
|   | ||||
| @@ -81,3 +81,7 @@ struct ToggleOption { | ||||
| };  // namespace ftxui | ||||
|  | ||||
| #endif /* end of include guard: FTXUI_COMPONENT_COMPONENT_OPTIONS_HPP */ | ||||
|  | ||||
| // Copyright 2021 Arthur Sonzogni. All rights reserved. | ||||
| // Use of this source code is governed by the MIT license that can be found in | ||||
| // the LICENSE file. | ||||
|   | ||||
| @@ -24,7 +24,7 @@ class ConstRef { | ||||
|  | ||||
| /// @brief An adapter. Own or reference an mutable object. | ||||
| template <typename T> | ||||
| class Ref{ | ||||
| class Ref { | ||||
|  public: | ||||
|   Ref() {} | ||||
|   Ref(T t) : owned_(t) {} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user