Eliminate a lot of unnessesary includes of subs_grid.h

Originally committed to SVN as r5458.
This commit is contained in:
Thomas Goyne 2011-07-15 04:05:15 +00:00
parent 1d51dd20d2
commit d405b061df
13 changed files with 1 additions and 27 deletions

View file

@ -50,6 +50,7 @@
#include "../dialog_dummy_video.h" #include "../dialog_dummy_video.h"
#include "../dialog_jumpto.h" #include "../dialog_jumpto.h"
#include "../dialog_video_details.h" #include "../dialog_video_details.h"
#include "../selection_controller.h"
#include "../subs_grid.h" #include "../subs_grid.h"
#include "../utils.h" #include "../utils.h"
#include "../video_box.h" #include "../video_box.h"

View file

@ -46,7 +46,6 @@
#include "dialog_detached_video.h" #include "dialog_detached_video.h"
#include "frame_main.h" #include "frame_main.h"
#include "main.h" #include "main.h"
#include "subs_grid.h"
#include "video_box.h" #include "video_box.h"
#include "video_context.h" #include "video_context.h"
#include "video_display.h" #include "video_display.h"

View file

@ -59,7 +59,6 @@
#include "main.h" #include "main.h"
#include "scintilla_text_ctrl.h" #include "scintilla_text_ctrl.h"
#include "selection_controller.h" #include "selection_controller.h"
#include "subs_grid.h"
#include "utils.h" #include "utils.h"

View file

@ -35,9 +35,6 @@
/// @ingroup tools_ui kara_timing_copy /// @ingroup tools_ui kara_timing_copy
/// ///
///////////
// Headers
#include "config.h" #include "config.h"
#ifndef AGI_PRE #ifndef AGI_PRE
@ -57,7 +54,6 @@
#include "libresrc/libresrc.h" #include "libresrc/libresrc.h"
#include "main.h" #include "main.h"
#include "selection_controller.h" #include "selection_controller.h"
#include "subs_grid.h"
#include "utils.h" #include "utils.h"
#include "validators.h" #include "validators.h"
#include "video_context.h" #include "video_context.h"
@ -827,14 +823,8 @@ bool KaraokeLineMatchDisplay::UndoMatch()
return true; return true;
} }
/// @brief Constructor /// @brief Constructor
/// @param parent /// @param parent
/// @param _grid
///
DialogKanjiTimer::DialogKanjiTimer(agi::Context *c) DialogKanjiTimer::DialogKanjiTimer(agi::Context *c)
: wxDialog(c->parent,-1,_("Kanji timing"),wxDefaultPosition) : wxDialog(c->parent,-1,_("Kanji timing"),wxDefaultPosition)
{ {
@ -843,7 +833,6 @@ DialogKanjiTimer::DialogKanjiTimer(agi::Context *c)
// Variables // Variables
subs = c->ass; subs = c->ass;
grid = c->subsGrid;
currentSourceLine = subs->Line.begin(); currentSourceLine = subs->Line.begin();
currentDestinationLine = subs->Line.begin(); currentDestinationLine = subs->Line.begin();

View file

@ -51,8 +51,6 @@
namespace agi { struct Context; } namespace agi { struct Context; }
class AssOverrideParameter; class AssOverrideParameter;
class KaraokeLineMatchDisplay; class KaraokeLineMatchDisplay;
class SubtitlesGrid;
/// DOCME /// DOCME
/// @class DialogKanjiTimer /// @class DialogKanjiTimer
@ -60,10 +58,6 @@ class SubtitlesGrid;
/// ///
/// DOCME /// DOCME
class DialogKanjiTimer : public wxDialog { class DialogKanjiTimer : public wxDialog {
/// DOCME
SubtitlesGrid *grid;
/// DOCME /// DOCME
AssFile *subs; AssFile *subs;

View file

@ -57,7 +57,6 @@
#include "main.h" #include "main.h"
#include "selection_controller.h" #include "selection_controller.h"
#include "standard_paths.h" #include "standard_paths.h"
#include "subs_grid.h"
#include "utils.h" #include "utils.h"
/// IDs /// IDs

View file

@ -49,7 +49,6 @@
#include "libresrc/libresrc.h" #include "libresrc/libresrc.h"
#include "main.h" #include "main.h"
#include "selection_controller.h" #include "selection_controller.h"
#include "subs_grid.h"
#include "utils.h" #include "utils.h"
#include "validators.h" #include "validators.h"
#include "video_context.h" #include "video_context.h"

View file

@ -48,7 +48,6 @@
namespace agi { struct Context; } namespace agi { struct Context; }
class AssDialogue; class AssDialogue;
class SubtitlesGrid;
/// DOCME /// DOCME
/// @class DialogTimingProcessor /// @class DialogTimingProcessor

View file

@ -41,7 +41,6 @@
#include "ass_dialogue.h" #include "ass_dialogue.h"
#include "ass_file.h" #include "ass_file.h"
#include "subs_grid.h"
#include "utils.h" #include "utils.h"
#include "video_display.h" #include "video_display.h"
#include "visual_tool_clip.h" #include "visual_tool_clip.h"

View file

@ -38,7 +38,6 @@
#include "ass_file.h" #include "ass_file.h"
#include "include/aegisub/context.h" #include "include/aegisub/context.h"
#include "gl_text.h" #include "gl_text.h"
#include "subs_grid.h"
#include "video_context.h" #include "video_context.h"
#include "video_display.h" #include "video_display.h"
#include "visual_tool_cross.h" #include "visual_tool_cross.h"

View file

@ -42,7 +42,6 @@
#include "ass_dialogue.h" #include "ass_dialogue.h"
#include "ass_file.h" #include "ass_file.h"
#include "include/aegisub/context.h" #include "include/aegisub/context.h"
#include "subs_grid.h"
#include "utils.h" #include "utils.h"
#include "video_context.h" #include "video_context.h"
#include "video_display.h" #include "video_display.h"

View file

@ -42,7 +42,6 @@
#include "ass_dialogue.h" #include "ass_dialogue.h"
#include "ass_file.h" #include "ass_file.h"
#include "include/aegisub/context.h" #include "include/aegisub/context.h"
#include "subs_grid.h"
#include "utils.h" #include "utils.h"
#include "video_context.h" #include "video_context.h"
#include "video_display.h" #include "video_display.h"

View file

@ -42,7 +42,6 @@
#include "ass_dialogue.h" #include "ass_dialogue.h"
#include "ass_file.h" #include "ass_file.h"
#include "include/aegisub/context.h" #include "include/aegisub/context.h"
#include "subs_grid.h"
#include "utils.h" #include "utils.h"
#include "video_context.h" #include "video_context.h"
#include "video_display.h" #include "video_display.h"