From 0931194b4f5b9ca5eb87aba416d7113d1c6a3b9c Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 26 Mar 2014 10:12:43 -0700 Subject: [PATCH] Remove most inclusions of main.h --- src/audio_player_dsound.cpp | 1 - src/audio_player_dsound2.cpp | 1 - src/audio_provider.cpp | 1 - src/command/recent.cpp | 1 - src/command/subtitle.cpp | 1 - src/command/video.cpp | 1 - src/ffmpegsource_common.cpp | 1 - src/utils.cpp | 1 - 8 files changed, 8 deletions(-) diff --git a/src/audio_player_dsound.cpp b/src/audio_player_dsound.cpp index 77334ba93..47e3654a2 100644 --- a/src/audio_player_dsound.cpp +++ b/src/audio_player_dsound.cpp @@ -40,7 +40,6 @@ #include "audio_controller.h" #include "include/aegisub/audio_provider.h" #include "frame_main.h" -#include "main.h" #include "utils.h" #include diff --git a/src/audio_player_dsound2.cpp b/src/audio_player_dsound2.cpp index ca36e6236..5d1d20d87 100644 --- a/src/audio_player_dsound2.cpp +++ b/src/audio_player_dsound2.cpp @@ -40,7 +40,6 @@ #include "audio_controller.h" #include "include/aegisub/audio_provider.h" #include "frame_main.h" -#include "main.h" #include "options.h" #include "utils.h" diff --git a/src/audio_provider.cpp b/src/audio_provider.cpp index 41e3da0b5..365ea8a97 100644 --- a/src/audio_provider.cpp +++ b/src/audio_provider.cpp @@ -39,7 +39,6 @@ #include "audio_controller.h" #include "factory_manager.h" #include "frame_main.h" -#include "main.h" #include "options.h" #include "utils.h" diff --git a/src/command/recent.cpp b/src/command/recent.cpp index fccb28004..73f892a20 100644 --- a/src/command/recent.cpp +++ b/src/command/recent.cpp @@ -35,7 +35,6 @@ #include "../compat.h" #include "../include/aegisub/context.h" #include "../libresrc/libresrc.h" -#include "../main.h" #include "../options.h" #include "../subs_controller.h" #include "../video_context.h" diff --git a/src/command/subtitle.cpp b/src/command/subtitle.cpp index 760103f05..f1b6b0507 100644 --- a/src/command/subtitle.cpp +++ b/src/command/subtitle.cpp @@ -44,7 +44,6 @@ #include "../dialog_spellchecker.h" #include "../include/aegisub/context.h" #include "../libresrc/libresrc.h" -#include "../main.h" #include "../options.h" #include "../search_replace_engine.h" #include "../selection_controller.h" diff --git a/src/command/video.cpp b/src/command/video.cpp index 91321f7b7..85e21d98c 100644 --- a/src/command/video.cpp +++ b/src/command/video.cpp @@ -45,7 +45,6 @@ #include "../include/aegisub/context.h" #include "../include/aegisub/subtitles_provider.h" #include "../libresrc/libresrc.h" -#include "../main.h" #include "../options.h" #include "../selection_controller.h" #include "../utils.h" diff --git a/src/ffmpegsource_common.cpp b/src/ffmpegsource_common.cpp index d8761975e..38fe4f32b 100644 --- a/src/ffmpegsource_common.cpp +++ b/src/ffmpegsource_common.cpp @@ -39,7 +39,6 @@ #include "compat.h" #include "frame_main.h" -#include "main.h" #include "options.h" #include "utils.h" diff --git a/src/utils.cpp b/src/utils.cpp index b7efb64a8..6b25d0bb5 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -38,7 +38,6 @@ #include "compat.h" #include "frame_main.h" -#include "main.h" #include "options.h" #include "retina_helper.h"