From ffe4b259ec60d208c1e05dc66fc06f50ea5996da Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 21 Dec 2016 23:49:36 -0500 Subject: [PATCH] citra-qt: Move config dialog code to its own directory --- src/citra_qt/CMakeLists.txt | 42 +++++++++---------- src/citra_qt/{ => configuration}/configure.ui | 0 .../{ => configuration}/configure_audio.cpp | 2 +- .../{ => configuration}/configure_audio.h | 0 .../{ => configuration}/configure_audio.ui | 0 .../{ => configuration}/configure_debug.cpp | 2 +- .../{ => configuration}/configure_debug.h | 0 .../{ => configuration}/configure_debug.ui | 0 .../{ => configuration}/configure_dialog.cpp | 2 +- .../{ => configuration}/configure_dialog.h | 0 .../{ => configuration}/configure_general.cpp | 2 +- .../{ => configuration}/configure_general.h | 0 .../{ => configuration}/configure_general.ui | 0 .../configure_graphics.cpp | 2 +- .../{ => configuration}/configure_graphics.h | 0 .../{ => configuration}/configure_graphics.ui | 0 .../{ => configuration}/configure_input.cpp | 2 +- .../{ => configuration}/configure_input.h | 0 .../{ => configuration}/configure_input.ui | 0 .../{ => configuration}/configure_system.cpp | 2 +- .../{ => configuration}/configure_system.h | 0 .../{ => configuration}/configure_system.ui | 0 src/citra_qt/main.cpp | 2 +- 23 files changed, 29 insertions(+), 29 deletions(-) rename src/citra_qt/{ => configuration}/configure.ui (100%) rename src/citra_qt/{ => configuration}/configure_audio.cpp (98%) rename src/citra_qt/{ => configuration}/configure_audio.h (100%) rename src/citra_qt/{ => configuration}/configure_audio.ui (100%) rename src/citra_qt/{ => configuration}/configure_debug.cpp (94%) rename src/citra_qt/{ => configuration}/configure_debug.h (100%) rename src/citra_qt/{ => configuration}/configure_debug.ui (100%) rename src/citra_qt/{ => configuration}/configure_dialog.cpp (93%) rename src/citra_qt/{ => configuration}/configure_dialog.h (100%) rename src/citra_qt/{ => configuration}/configure_general.cpp (96%) rename src/citra_qt/{ => configuration}/configure_general.h (100%) rename src/citra_qt/{ => configuration}/configure_general.ui (100%) rename src/citra_qt/{ => configuration}/configure_graphics.cpp (98%) rename src/citra_qt/{ => configuration}/configure_graphics.h (100%) rename src/citra_qt/{ => configuration}/configure_graphics.ui (100%) rename src/citra_qt/{ => configuration}/configure_input.cpp (98%) rename src/citra_qt/{ => configuration}/configure_input.h (100%) rename src/citra_qt/{ => configuration}/configure_input.ui (100%) rename src/citra_qt/{ => configuration}/configure_system.cpp (98%) rename src/citra_qt/{ => configuration}/configure_system.h (100%) rename src/citra_qt/{ => configuration}/configure_system.ui (100%) diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt index d4460bf01..2ac5c7959 100644 --- a/src/citra_qt/CMakeLists.txt +++ b/src/citra_qt/CMakeLists.txt @@ -4,6 +4,13 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/CMakeModules) set(SRCS config.cpp + configuration/configure_audio.cpp + configuration/configure_debug.cpp + configuration/configure_dialog.cpp + configuration/configure_general.cpp + configuration/configure_graphics.cpp + configuration/configure_input.cpp + configuration/configure_system.cpp debugger/callstack.cpp debugger/disassembler.cpp debugger/graphics/graphics.cpp @@ -19,13 +26,6 @@ set(SRCS util/spinbox.cpp util/util.cpp bootmanager.cpp - configure_audio.cpp - configure_debug.cpp - configure_dialog.cpp - configure_general.cpp - configure_graphics.cpp - configure_system.cpp - configure_input.cpp game_list.cpp hotkeys.cpp main.cpp @@ -36,6 +36,13 @@ set(SRCS set(HEADERS config.h + configuration/configure_audio.h + configuration/configure_debug.h + configuration/configure_dialog.h + configuration/configure_general.h + configuration/configure_graphics.h + configuration/configure_input.h + configuration/configure_system.h debugger/callstack.h debugger/disassembler.h debugger/graphics/graphics.h @@ -52,13 +59,6 @@ set(HEADERS util/spinbox.h util/util.h bootmanager.h - configure_audio.h - configure_debug.h - configure_dialog.h - configure_general.h - configure_graphics.h - configure_system.h - configure_input.h game_list.h game_list_p.h hotkeys.h @@ -67,17 +67,17 @@ set(HEADERS ) set(UIS + configuration/configure.ui + configuration/configure_audio.ui + configuration/configure_debug.ui + configuration/configure_general.ui + configuration/configure_graphics.ui + configuration/configure_input.ui + configuration/configure_system.ui debugger/callstack.ui debugger/disassembler.ui debugger/profiler.ui debugger/registers.ui - configure.ui - configure_audio.ui - configure_debug.ui - configure_general.ui - configure_graphics.ui - configure_system.ui - configure_input.ui hotkeys.ui main.ui ) diff --git a/src/citra_qt/configure.ui b/src/citra_qt/configuration/configure.ui similarity index 100% rename from src/citra_qt/configure.ui rename to src/citra_qt/configuration/configure.ui diff --git a/src/citra_qt/configure_audio.cpp b/src/citra_qt/configuration/configure_audio.cpp similarity index 98% rename from src/citra_qt/configure_audio.cpp rename to src/citra_qt/configuration/configure_audio.cpp index 3ddcf9232..3fd1d127a 100644 --- a/src/citra_qt/configure_audio.cpp +++ b/src/citra_qt/configuration/configure_audio.cpp @@ -6,7 +6,7 @@ #include "audio_core/audio_core.h" #include "audio_core/sink.h" #include "audio_core/sink_details.h" -#include "citra_qt/configure_audio.h" +#include "citra_qt/configuration/configure_audio.h" #include "core/settings.h" #include "ui_configure_audio.h" diff --git a/src/citra_qt/configure_audio.h b/src/citra_qt/configuration/configure_audio.h similarity index 100% rename from src/citra_qt/configure_audio.h rename to src/citra_qt/configuration/configure_audio.h diff --git a/src/citra_qt/configure_audio.ui b/src/citra_qt/configuration/configure_audio.ui similarity index 100% rename from src/citra_qt/configure_audio.ui rename to src/citra_qt/configuration/configure_audio.ui diff --git a/src/citra_qt/configure_debug.cpp b/src/citra_qt/configuration/configure_debug.cpp similarity index 94% rename from src/citra_qt/configure_debug.cpp rename to src/citra_qt/configuration/configure_debug.cpp index dcc398eee..263f73f38 100644 --- a/src/citra_qt/configure_debug.cpp +++ b/src/citra_qt/configuration/configure_debug.cpp @@ -2,7 +2,7 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include "citra_qt/configure_debug.h" +#include "citra_qt/configuration/configure_debug.h" #include "core/settings.h" #include "ui_configure_debug.h" diff --git a/src/citra_qt/configure_debug.h b/src/citra_qt/configuration/configure_debug.h similarity index 100% rename from src/citra_qt/configure_debug.h rename to src/citra_qt/configuration/configure_debug.h diff --git a/src/citra_qt/configure_debug.ui b/src/citra_qt/configuration/configure_debug.ui similarity index 100% rename from src/citra_qt/configure_debug.ui rename to src/citra_qt/configuration/configure_debug.ui diff --git a/src/citra_qt/configure_dialog.cpp b/src/citra_qt/configuration/configure_dialog.cpp similarity index 93% rename from src/citra_qt/configure_dialog.cpp rename to src/citra_qt/configuration/configure_dialog.cpp index 525a7cc4e..3dd72ab51 100644 --- a/src/citra_qt/configure_dialog.cpp +++ b/src/citra_qt/configuration/configure_dialog.cpp @@ -3,7 +3,7 @@ // Refer to the license.txt file included. #include "citra_qt/config.h" -#include "citra_qt/configure_dialog.h" +#include "citra_qt/configuration/configure_dialog.h" #include "core/settings.h" #include "ui_configure.h" diff --git a/src/citra_qt/configure_dialog.h b/src/citra_qt/configuration/configure_dialog.h similarity index 100% rename from src/citra_qt/configure_dialog.h rename to src/citra_qt/configuration/configure_dialog.h diff --git a/src/citra_qt/configure_general.cpp b/src/citra_qt/configuration/configure_general.cpp similarity index 96% rename from src/citra_qt/configure_general.cpp rename to src/citra_qt/configuration/configure_general.cpp index ac90a6df4..a21176c34 100644 --- a/src/citra_qt/configure_general.cpp +++ b/src/citra_qt/configuration/configure_general.cpp @@ -2,7 +2,7 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include "citra_qt/configure_general.h" +#include "citra_qt/configuration/configure_general.h" #include "citra_qt/ui_settings.h" #include "core/core.h" #include "core/settings.h" diff --git a/src/citra_qt/configure_general.h b/src/citra_qt/configuration/configure_general.h similarity index 100% rename from src/citra_qt/configure_general.h rename to src/citra_qt/configuration/configure_general.h diff --git a/src/citra_qt/configure_general.ui b/src/citra_qt/configuration/configure_general.ui similarity index 100% rename from src/citra_qt/configure_general.ui rename to src/citra_qt/configuration/configure_general.ui diff --git a/src/citra_qt/configure_graphics.cpp b/src/citra_qt/configuration/configure_graphics.cpp similarity index 98% rename from src/citra_qt/configure_graphics.cpp rename to src/citra_qt/configuration/configure_graphics.cpp index 54f799b47..c83aafa67 100644 --- a/src/citra_qt/configure_graphics.cpp +++ b/src/citra_qt/configuration/configure_graphics.cpp @@ -2,7 +2,7 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include "citra_qt/configure_graphics.h" +#include "citra_qt/configuration/configure_graphics.h" #include "core/core.h" #include "core/settings.h" #include "ui_configure_graphics.h" diff --git a/src/citra_qt/configure_graphics.h b/src/citra_qt/configuration/configure_graphics.h similarity index 100% rename from src/citra_qt/configure_graphics.h rename to src/citra_qt/configuration/configure_graphics.h diff --git a/src/citra_qt/configure_graphics.ui b/src/citra_qt/configuration/configure_graphics.ui similarity index 100% rename from src/citra_qt/configure_graphics.ui rename to src/citra_qt/configuration/configure_graphics.ui diff --git a/src/citra_qt/configure_input.cpp b/src/citra_qt/configuration/configure_input.cpp similarity index 98% rename from src/citra_qt/configure_input.cpp rename to src/citra_qt/configuration/configure_input.cpp index 3e6803b8a..394253127 100644 --- a/src/citra_qt/configure_input.cpp +++ b/src/citra_qt/configuration/configure_input.cpp @@ -6,7 +6,7 @@ #include #include #include "citra_qt/config.h" -#include "citra_qt/configure_input.h" +#include "citra_qt/configuration/configure_input.h" static QString getKeyName(Qt::Key key_code) { switch (key_code) { diff --git a/src/citra_qt/configure_input.h b/src/citra_qt/configuration/configure_input.h similarity index 100% rename from src/citra_qt/configure_input.h rename to src/citra_qt/configuration/configure_input.h diff --git a/src/citra_qt/configure_input.ui b/src/citra_qt/configuration/configure_input.ui similarity index 100% rename from src/citra_qt/configure_input.ui rename to src/citra_qt/configuration/configure_input.ui diff --git a/src/citra_qt/configure_system.cpp b/src/citra_qt/configuration/configure_system.cpp similarity index 98% rename from src/citra_qt/configure_system.cpp rename to src/citra_qt/configuration/configure_system.cpp index eb1276ef3..ba949e69f 100644 --- a/src/citra_qt/configure_system.cpp +++ b/src/citra_qt/configuration/configure_system.cpp @@ -2,7 +2,7 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include "citra_qt/configure_system.h" +#include "citra_qt/configuration/configure_system.h" #include "citra_qt/ui_settings.h" #include "core/hle/service/cfg/cfg.h" #include "core/hle/service/fs/archive.h" diff --git a/src/citra_qt/configure_system.h b/src/citra_qt/configuration/configure_system.h similarity index 100% rename from src/citra_qt/configure_system.h rename to src/citra_qt/configuration/configure_system.h diff --git a/src/citra_qt/configure_system.ui b/src/citra_qt/configuration/configure_system.ui similarity index 100% rename from src/citra_qt/configure_system.ui rename to src/citra_qt/configuration/configure_system.ui diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index f765c0147..4641c510c 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -15,7 +15,7 @@ #include #include "citra_qt/bootmanager.h" #include "citra_qt/config.h" -#include "citra_qt/configure_dialog.h" +#include "citra_qt/configuration/configure_dialog.h" #include "citra_qt/debugger/callstack.h" #include "citra_qt/debugger/disassembler.h" #include "citra_qt/debugger/graphics/graphics.h"