Skip to content

Commit

Permalink
GUI files includes cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Jan 27, 2021
1 parent 29ab185 commit f254127
Show file tree
Hide file tree
Showing 20 changed files with 25 additions and 53 deletions.
6 changes: 2 additions & 4 deletions src/osdep/gui/CreateFilesysHardfile.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include <cstring>
#include <cstdio>

#include <guisan.hpp>
#include <guisan/sdl.hpp>
Expand All @@ -13,7 +12,6 @@
#include "options.h"
#include "filesys.h"
#include "gui_handling.h"
#include "inputdevice.h"
#include "amiberry_gfx.h"
#include "amiberry_input.h"

Expand Down
7 changes: 2 additions & 5 deletions src/osdep/gui/EditFilesysHardfile.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <cstdio>
#include <cstring>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand All @@ -15,8 +14,6 @@
#include "autoconf.h"
#include "filesys.h"
#include "gui_handling.h"

#include "inputdevice.h"
#include "amiberry_gfx.h"
#include "amiberry_input.h"

Expand Down
6 changes: 2 additions & 4 deletions src/osdep/gui/EditFilesysVirtual.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include <cstring>
#include <cstdio>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand All @@ -15,7 +14,6 @@
#include "autoconf.h"
#include "gui_handling.h"

#include "inputdevice.h"
#include "amiberry_gfx.h"
#include "amiberry_input.h"

Expand Down
2 changes: 0 additions & 2 deletions src/osdep/gui/Navigation.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include <stdbool.h>

#include <guisan.hpp>
#include <guisan/sdl.hpp>
#include <guisan/sdl/sdltruetypefont.hpp>
Expand Down
2 changes: 0 additions & 2 deletions src/osdep/gui/PanelCPU.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include <stdbool.h>

#include <guisan.hpp>
#include <SDL_ttf.h>
#include <guisan/sdl.hpp>
Expand Down
2 changes: 0 additions & 2 deletions src/osdep/gui/PanelChipset.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include <stdbool.h>

#include <guisan.hpp>
#include <SDL_ttf.h>
#include <guisan/sdl.hpp>
Expand Down
1 change: 0 additions & 1 deletion src/osdep/gui/PanelConfig.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <string.h>
#include <stdio.h>
#include <stdbool.h>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand Down
2 changes: 1 addition & 1 deletion src/osdep/gui/PanelDisplay.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <cstdio>
#include <stdlib.h>
#include <cstdlib>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand Down
5 changes: 2 additions & 3 deletions src/osdep/gui/PanelFloppy.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include <cstring>
#include <cstdio>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand Down
2 changes: 0 additions & 2 deletions src/osdep/gui/PanelPrio.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include <cstring>

#include <guisan.hpp>
#include <guisan/sdl.hpp>
#include "SelectorEntry.hpp"
Expand Down
5 changes: 2 additions & 3 deletions src/osdep/gui/PanelQuickstart.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <stdbool.h>
#include <string.h>
#include <stdio.h>
#include <cstring>
#include <cstdio>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand Down
1 change: 0 additions & 1 deletion src/osdep/gui/PanelRAM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include "sysdeps.h"
#include "options.h"
#include "memory.h"
#include "gfxboard.h"
#include "gui_handling.h"
#include "target.h"

Expand Down
2 changes: 1 addition & 1 deletion src/osdep/gui/PanelROM.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include <string.h>
#include <cstring>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand Down
2 changes: 1 addition & 1 deletion src/osdep/gui/PanelRTG.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <cstdio>
#include <stdlib.h>
#include <cstdlib>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand Down
6 changes: 2 additions & 4 deletions src/osdep/gui/PanelSavestate.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <string.h>
#include <stdio.h>
#include <stdbool.h>
#include <cstring>
#include <cstdio>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand All @@ -10,7 +9,6 @@
#include "SelectorEntry.hpp"

#include "sysdeps.h"
#include "xwin.h"
#include "gui.h"
#include "savestate.h"
#include "gui_handling.h"
Expand Down
7 changes: 3 additions & 4 deletions src/osdep/gui/SelectFile.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#include <stdbool.h>
#include <string.h>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <sys/types.h>
#include <dirent.h>
#include <stdlib.h>
#include <stdio.h>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand Down
7 changes: 3 additions & 4 deletions src/osdep/gui/SelectFolder.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#include <stdbool.h>
#include <sys/types.h>
#include <dirent.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <cstdlib>
#include <cstring>
#include <cstdio>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand Down
2 changes: 0 additions & 2 deletions src/osdep/gui/SelectorEntry.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include <stdbool.h>

#include "SelectorEntry.hpp"
#include "guisan/widgets/container.hpp"
#include "guisan/widgets/icon.hpp"
Expand Down
6 changes: 2 additions & 4 deletions src/osdep/gui/ShowHelp.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <cstdio>
#include <cstring>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand All @@ -13,7 +12,6 @@
#include "gui_handling.h"

#include "options.h"
#include "inputdevice.h"
#include "amiberry_gfx.h"
#include "amiberry_input.h"

Expand Down
5 changes: 2 additions & 3 deletions src/osdep/gui/ShowMessage.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <cstdio>
#include <cstring>

#include <guisan.hpp>
#include <SDL_ttf.h>
Expand Down

0 comments on commit f254127

Please sign in to comment.