mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	CitraQt: Cleanup includes.
This commit is contained in:
		
							parent
							
								
									22ae87530b
								
							
						
					
					
						commit
						45c4781544
					
				
					 20 changed files with 47 additions and 18 deletions
				
			
		|  | @ -11,6 +11,10 @@ | |||
| #include "bootmanager.h" | ||||
| #include "main.h" | ||||
| 
 | ||||
| #include "common/string_util.h" | ||||
| #include "common/scm_rev.h" | ||||
| #include "common/key_map.h" | ||||
| 
 | ||||
| #include "core/core.h" | ||||
| #include "core/settings.h" | ||||
| #include "core/system.h" | ||||
|  |  | |||
|  | @ -2,11 +2,11 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include <QSettings> | ||||
| #include <QString> | ||||
| #include <QStringList> | ||||
| 
 | ||||
| #include "core/settings.h" | ||||
| #include "core/core.h" | ||||
| #include "common/file_util.h" | ||||
| 
 | ||||
| #include "config.h" | ||||
|  |  | |||
|  | @ -4,9 +4,9 @@ | |||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #include <QSettings> | ||||
| #include <string> | ||||
| 
 | ||||
| #include "common/common_types.h" | ||||
| class QSettings; | ||||
| 
 | ||||
| class Config { | ||||
|     QSettings* qt_config; | ||||
|  |  | |||
|  | @ -2,6 +2,8 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include <QShortcut> | ||||
| 
 | ||||
| #include "disassembler.h" | ||||
| 
 | ||||
| #include "../bootmanager.h" | ||||
|  |  | |||
|  | @ -2,10 +2,13 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include <map> | ||||
| 
 | ||||
| #include <QKeySequence> | ||||
| #include <QSettings> | ||||
| #include <QShortcut> | ||||
| 
 | ||||
| #include "hotkeys.h" | ||||
| #include <map> | ||||
| 
 | ||||
| struct Hotkey | ||||
| { | ||||
|  |  | |||
|  | @ -2,12 +2,12 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include <QShortcut> | ||||
| #include <QDialog> | ||||
| #include "ui_hotkeys.h" | ||||
| 
 | ||||
| class QDialog; | ||||
| class QKeySequence; | ||||
| class QSettings; | ||||
| class QShortcut; | ||||
| 
 | ||||
| /**
 | ||||
|  * Register a hotkey. | ||||
|  |  | |||
|  | @ -10,12 +10,14 @@ | |||
| #include "qhexedit.h" | ||||
| #include "main.h" | ||||
| 
 | ||||
| #include "common/string_util.h" | ||||
| #include "common/logging/text_formatter.h" | ||||
| #include "common/logging/log.h" | ||||
| #include "common/logging/backend.h" | ||||
| #include "common/logging/filter.h" | ||||
| #include "common/make_unique.h" | ||||
| #include "common/platform.h" | ||||
| #include "common/scm_rev.h" | ||||
| #include "common/scope_exit.h" | ||||
| 
 | ||||
| #include "bootmanager.h" | ||||
|  |  | |||
|  | @ -5,6 +5,7 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <array> | ||||
| #include <cstddef> | ||||
| #include <string> | ||||
| 
 | ||||
| #include "common/logging/log.h" | ||||
|  |  | |||
|  | @ -4,7 +4,6 @@ | |||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #include <chrono> | ||||
| #include <cstddef> | ||||
| #include <vector> | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,6 +2,7 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include <cstring> | ||||
| #include <memory> | ||||
| 
 | ||||
| #include "common/common_types.h" | ||||
|  |  | |||
|  | @ -9,14 +9,16 @@ | |||
| #include "core/hle/kernel/event.h" | ||||
| #include "core/hle/kernel/shared_memory.h" | ||||
| #include "core/hle/result.h" | ||||
| #include "gsp_gpu.h" | ||||
| #include "core/hw/hw.h" | ||||
| #include "core/hw/gpu.h" | ||||
| #include "core/hw/lcd.h" | ||||
| 
 | ||||
| #include "video_core/gpu_debugger.h" | ||||
| #include "video_core/renderer_base.h" | ||||
| #include "video_core/video_core.h" | ||||
| 
 | ||||
| #include "gsp_gpu.h" | ||||
| 
 | ||||
| // Main graphics debugger object - TODO: Here is probably not the best place for this
 | ||||
| GraphicsDebugger g_debugger; | ||||
| 
 | ||||
|  |  | |||
|  | @ -3,6 +3,7 @@ | |||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "common/logging/log.h" | ||||
| #include "common/emu_window.h" | ||||
| 
 | ||||
| #include "core/hle/service/service.h" | ||||
| #include "core/hle/service/hid/hid.h" | ||||
|  |  | |||
|  | @ -12,6 +12,7 @@ | |||
| #include "core/hw/y2r.h" | ||||
| #include "core/mem_map.h" | ||||
| 
 | ||||
| #include "video_core/renderer_base.h" | ||||
| #include "video_core/utils.h" | ||||
| #include "video_core/video_core.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -21,6 +21,7 @@ | |||
| #include "core/hw/gpu.h" | ||||
| 
 | ||||
| #include "video_core/command_processor.h" | ||||
| #include "video_core/renderer_base.h" | ||||
| #include "video_core/utils.h" | ||||
| #include "video_core/video_core.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,6 +2,7 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include <cstring> | ||||
| #include <string> | ||||
| #include <memory> | ||||
| 
 | ||||
|  | @ -10,7 +11,7 @@ | |||
| #include "common/logging/log.h" | ||||
| #include "common/symbols.h" | ||||
| 
 | ||||
| #include "core/hle/kernel/kernel.h" | ||||
| #include "core/hle/kernel/process.h" | ||||
| #include "core/hle/kernel/resource_limit.h" | ||||
| #include "core/loader/elf.h" | ||||
| #include "core/memory.h" | ||||
|  |  | |||
|  | @ -4,13 +4,18 @@ | |||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #include <algorithm> | ||||
| #include <initializer_list> | ||||
| #include <memory> | ||||
| #include <string> | ||||
| #include <vector> | ||||
| 
 | ||||
| #include "common/common_types.h" | ||||
| #include "common/file_util.h" | ||||
| 
 | ||||
| #include "core/hle/kernel/process.h" | ||||
| namespace Kernel { | ||||
| struct AddressMapping; | ||||
| } | ||||
| 
 | ||||
| ////////////////////////////////////////////////////////////////////////////////////////////////////
 | ||||
| // Loader namespace
 | ||||
|  |  | |||
|  | @ -3,6 +3,7 @@ | |||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include <algorithm> | ||||
| #include <cstring> | ||||
| #include <memory> | ||||
| 
 | ||||
| #include "common/logging/log.h" | ||||
|  | @ -10,7 +11,7 @@ | |||
| #include "common/string_util.h" | ||||
| #include "common/swap.h" | ||||
| 
 | ||||
| #include "core/hle/kernel/kernel.h" | ||||
| #include "core/hle/kernel/process.h" | ||||
| #include "core/hle/kernel/resource_limit.h" | ||||
| #include "core/loader/ncch.h" | ||||
| #include "core/memory.h" | ||||
|  |  | |||
|  | @ -6,19 +6,21 @@ | |||
| 
 | ||||
| #include "common/profiler.h" | ||||
| 
 | ||||
| #include "clipper.h" | ||||
| #include "command_processor.h" | ||||
| #include "math.h" | ||||
| #include "pica.h" | ||||
| #include "primitive_assembly.h" | ||||
| #include "vertex_shader.h" | ||||
| #include "video_core.h" | ||||
| #include "core/hle/service/gsp_gpu.h" | ||||
| #include "core/hw/gpu.h" | ||||
| #include "core/settings.h" | ||||
| 
 | ||||
| #include "debug_utils/debug_utils.h" | ||||
| 
 | ||||
| #include "clipper.h" | ||||
| #include "command_processor.h" | ||||
| #include "math.h" | ||||
| #include "pica.h" | ||||
| #include "primitive_assembly.h" | ||||
| #include "renderer_base.h" | ||||
| #include "vertex_shader.h" | ||||
| #include "video_core.h" | ||||
| 
 | ||||
| namespace Pica { | ||||
| 
 | ||||
| namespace CommandProcessor { | ||||
|  |  | |||
|  | @ -23,6 +23,7 @@ | |||
| #include "common/vector_math.h" | ||||
| 
 | ||||
| #include "video_core/pica.h" | ||||
| #include "video_core/renderer_base.h" | ||||
| #include "video_core/utils.h" | ||||
| #include "video_core/video_core.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -4,6 +4,8 @@ | |||
| 
 | ||||
| #pragma once | ||||
| 
 | ||||
| #include <memory> | ||||
| 
 | ||||
| #include "common/common_types.h" | ||||
| 
 | ||||
| #include "video_core/hwrasterizer_base.h" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue