mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Use negative priorities to avoid special-casing the self-include
This commit is contained in:
		
							parent
							
								
									ebdae19fd2
								
							
						
					
					
						commit
						84fbbe2629
					
				
					 164 changed files with 170 additions and 168 deletions
				
			
		|  | @ -2,8 +2,8 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/config.h" | ||||
| #include <QSettings> | ||||
| #include "citra_qt/config.h" | ||||
| #include "citra_qt/ui_settings.h" | ||||
| #include "common/file_util.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,8 +2,8 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/configure_audio.h" | ||||
| #include "audio_core/sink_details.h" | ||||
| #include "citra_qt/configure_audio.h" | ||||
| #include "core/settings.h" | ||||
| #include "ui_configure_audio.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,8 +2,8 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/configure_dialog.h" | ||||
| #include "citra_qt/config.h" | ||||
| #include "citra_qt/configure_dialog.h" | ||||
| #include "core/settings.h" | ||||
| #include "ui_configure.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,10 +2,10 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/configure_input.h" | ||||
| #include <memory> | ||||
| #include <utility> | ||||
| #include <QTimer> | ||||
| #include "citra_qt/configure_input.h" | ||||
| 
 | ||||
| ConfigureInput::ConfigureInput(QWidget* parent) | ||||
|     : QWidget(parent), ui(std::make_unique<Ui::ConfigureInput>()) { | ||||
|  |  | |||
|  | @ -2,8 +2,8 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/debugger/callstack.h" | ||||
| #include <QStandardItemModel> | ||||
| #include "citra_qt/debugger/callstack.h" | ||||
| #include "common/common_types.h" | ||||
| #include "common/symbols.h" | ||||
| #include "core/arm/arm_interface.h" | ||||
|  |  | |||
|  | @ -2,9 +2,9 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/debugger/disassembler.h" | ||||
| #include <QShortcut> | ||||
| #include "citra_qt/bootmanager.h" | ||||
| #include "citra_qt/debugger/disassembler.h" | ||||
| #include "citra_qt/hotkeys.h" | ||||
| #include "citra_qt/util/util.h" | ||||
| #include "common/break_points.h" | ||||
|  |  | |||
|  | @ -2,8 +2,8 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/debugger/graphics.h" | ||||
| #include <QListView> | ||||
| #include "citra_qt/debugger/graphics.h" | ||||
| #include "citra_qt/util/util.h" | ||||
| 
 | ||||
| extern GraphicsDebugger g_debugger; | ||||
|  |  | |||
|  | @ -2,8 +2,8 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/debugger/graphics_breakpoint_observer.h" | ||||
| #include <QMetaType> | ||||
| #include "citra_qt/debugger/graphics_breakpoint_observer.h" | ||||
| 
 | ||||
| BreakPointObserverDock::BreakPointObserverDock(std::shared_ptr<Pica::DebugContext> debug_context, | ||||
|                                                const QString& title, QWidget* parent) | ||||
|  |  | |||
|  | @ -2,12 +2,12 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/debugger/graphics_breakpoints.h" | ||||
| #include <QLabel> | ||||
| #include <QMetaType> | ||||
| #include <QPushButton> | ||||
| #include <QTreeView> | ||||
| #include <QVBoxLayout> | ||||
| #include "citra_qt/debugger/graphics_breakpoints.h" | ||||
| #include "citra_qt/debugger/graphics_breakpoints_p.h" | ||||
| #include "common/assert.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,7 +2,6 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/debugger/graphics_cmdlists.h" | ||||
| #include <QApplication> | ||||
| #include <QClipboard> | ||||
| #include <QComboBox> | ||||
|  | @ -14,6 +13,7 @@ | |||
| #include <QSpinBox> | ||||
| #include <QTreeView> | ||||
| #include <QVBoxLayout> | ||||
| #include "citra_qt/debugger/graphics_cmdlists.h" | ||||
| #include "citra_qt/util/spinbox.h" | ||||
| #include "citra_qt/util/util.h" | ||||
| #include "common/vector_math.h" | ||||
|  |  | |||
|  | @ -2,7 +2,6 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/debugger/graphics_surface.h" | ||||
| #include <QBoxLayout> | ||||
| #include <QComboBox> | ||||
| #include <QDebug> | ||||
|  | @ -12,6 +11,7 @@ | |||
| #include <QPushButton> | ||||
| #include <QScrollArea> | ||||
| #include <QSpinBox> | ||||
| #include "citra_qt/debugger/graphics_surface.h" | ||||
| #include "citra_qt/util/spinbox.h" | ||||
| #include "common/color.h" | ||||
| #include "core/hw/gpu.h" | ||||
|  |  | |||
|  | @ -2,7 +2,6 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/debugger/graphics_tracing.h" | ||||
| #include <algorithm> | ||||
| #include <array> | ||||
| #include <iterator> | ||||
|  | @ -13,6 +12,7 @@ | |||
| #include <QMessageBox> | ||||
| #include <QPushButton> | ||||
| #include <boost/range/algorithm/copy.hpp> | ||||
| #include "citra_qt/debugger/graphics_tracing.h" | ||||
| #include "common/common_types.h" | ||||
| #include "core/hw/gpu.h" | ||||
| #include "core/hw/lcd.h" | ||||
|  |  | |||
|  | @ -2,7 +2,6 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/debugger/graphics_vertex_shader.h" | ||||
| #include <iomanip> | ||||
| #include <sstream> | ||||
| #include <QBoxLayout> | ||||
|  | @ -15,6 +14,7 @@ | |||
| #include <QSignalMapper> | ||||
| #include <QSpinBox> | ||||
| #include <QTreeView> | ||||
| #include "citra_qt/debugger/graphics_vertex_shader.h" | ||||
| #include "citra_qt/util/util.h" | ||||
| #include "video_core/pica.h" | ||||
| #include "video_core/pica_state.h" | ||||
|  |  | |||
|  | @ -2,10 +2,10 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/debugger/profiler.h" | ||||
| #include <QMouseEvent> | ||||
| #include <QPainter> | ||||
| #include <QString> | ||||
| #include "citra_qt/debugger/profiler.h" | ||||
| #include "citra_qt/util/util.h" | ||||
| #include "common/common_types.h" | ||||
| #include "common/microprofile.h" | ||||
|  |  | |||
|  | @ -2,8 +2,8 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/debugger/registers.h" | ||||
| #include <QTreeWidgetItem> | ||||
| #include "citra_qt/debugger/registers.h" | ||||
| #include "citra_qt/util/util.h" | ||||
| #include "core/arm/arm_interface.h" | ||||
| #include "core/core.h" | ||||
|  |  | |||
|  | @ -2,7 +2,6 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "game_list.h" | ||||
| #include <QHeaderView> | ||||
| #include <QThreadPool> | ||||
| #include <QVBoxLayout> | ||||
|  | @ -10,6 +9,7 @@ | |||
| #include "common/logging/log.h" | ||||
| #include "common/string_util.h" | ||||
| #include "core/loader/loader.h" | ||||
| #include "game_list.h" | ||||
| #include "game_list_p.h" | ||||
| #include "ui_settings.h" | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,11 +2,11 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/hotkeys.h" | ||||
| #include <map> | ||||
| #include <QKeySequence> | ||||
| #include <QShortcut> | ||||
| #include <QtGlobal> | ||||
| #include "citra_qt/hotkeys.h" | ||||
| #include "citra_qt/ui_settings.h" | ||||
| 
 | ||||
| struct Hotkey { | ||||
|  |  | |||
|  | @ -28,10 +28,10 @@ | |||
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 | ||||
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | ||||
| 
 | ||||
| #include "citra_qt/util/spinbox.h" | ||||
| #include <cstdlib> | ||||
| #include <QLineEdit> | ||||
| #include <QRegExpValidator> | ||||
| #include "citra_qt/util/spinbox.h" | ||||
| #include "common/assert.h" | ||||
| 
 | ||||
| CSpinBox::CSpinBox(QWidget* parent) | ||||
|  |  | |||
|  | @ -2,9 +2,9 @@ | |||
| // Licensed under GPLv2 or any later version
 | ||||
| // Refer to the license.txt file included.
 | ||||
| 
 | ||||
| #include "citra_qt/util/util.h" | ||||
| #include <array> | ||||
| #include <cmath> | ||||
| #include "citra_qt/util/util.h" | ||||
| 
 | ||||
| QFont GetMonospaceFont() { | ||||
|     QFont font("monospace"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue