Fix include paths

Originally committed to SVN as r5132.
This commit is contained in:
Thomas Goyne 2011-01-05 18:40:37 +00:00
parent c6b65d8b82
commit e450cb3e7e
33 changed files with 139 additions and 131 deletions

View file

@ -18,7 +18,7 @@
/// @brief Hotkey handler
/// @ingroup hotkey menu event window
#include "config.h"
#include "../config.h"
#ifndef LAGI_PRE
#include <math.h>

View file

@ -20,7 +20,7 @@
///
#include "config.h"
#include "../config.h"
#ifndef LAGI_PRE
#include <algorithm>

View file

@ -18,8 +18,6 @@
/// @brief Hotkey handler
/// @ingroup hotkey menu event window
#include "config.h"
#ifndef LAGI_PRE
#include <math.h>

View file

@ -46,7 +46,7 @@
#include <wx/sizer.h>
#endif
#include "aegisub/hotkey.h"
#include "include/aegisub/hotkey.h"
#include "base_grid.h"

View file

@ -36,24 +36,24 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#endif
#include "command.h"
#include "aegisub/context.h"
#include "main.h"
#include "../include/aegisub/context.h"
#include "../main.h"
#include "dialog_about.h"
#include "audio_controller.h"
#include "frame_main.h"
#include "video_context.h"
#include "utils.h"
#include "dialog_log.h"
#include "preferences.h"
#include "dialog_version_check.h"
#include "../dialog_about.h"
#include "../audio_controller.h"
#include "../frame_main.h"
#include "../video_context.h"
#include "../utils.h"
#include "../dialog_log.h"
#include "../preferences.h"
#include "../dialog_version_check.h"
namespace cmd {

View file

@ -36,7 +36,7 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#include <wx/filedlg.h>
@ -44,9 +44,10 @@
#include "command.h"
#include "aegisub/context.h"
#include "compat.h"
#include "main.h"
#include "../audio_controller.h"
#include "../compat.h"
#include "../include/aegisub/context.h"
#include "../main.h"
namespace cmd {
/// @defgroup cmd-audio Audio commands.

View file

@ -36,19 +36,19 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#endif
#include "command.h"
#include "main.h"
#include "aegisub/context.h"
#include "dialog_automation.h"
#include "auto4_base.h"
#include "video_context.h"
#include "frame_main.h"
#include "../main.h"
#include "../include/aegisub/context.h"
#include "../dialog_automation.h"
#include "../auto4_base.h"
#include "../video_context.h"
#include "../frame_main.h"
namespace cmd {
/// @defgroup cmd-am Automation commands

View file

@ -64,6 +64,7 @@ Command* CommandManager::get(std::string name) {
}
// XXX: throw
printf("cmd::id NOT FOUND (%s)\n", name.c_str());
return 0;
}

View file

@ -18,7 +18,7 @@
/// @brief Command base class and main header.
/// @ingroup command
#include "aegisub/context.h"
#include "../include/aegisub/context.h"
#include "icon.h"
DEFINE_BASE_EXCEPTION_NOINNER(CommandError, agi::Exception)

View file

@ -36,19 +36,20 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#endif
#include "command.h"
#include "aegisub/context.h"
#include "aegisub/context.h"
#include "subs_edit_box.h"
#include "subs_edit_ctrl.h"
#include "dialog_search_replace.h"
#include "video_context.h"
#include "../ass_file.h"
#include "../dialog_search_replace.h"
#include "../include/aegisub/context.h"
#include "../subs_edit_box.h"
#include "../subs_edit_ctrl.h"
#include "../subs_grid.h"
#include "../video_context.h"
namespace cmd {
/// @defgroup cmd-edit Editing commands.

View file

@ -36,17 +36,17 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#endif
#include "command.h"
#include "aegisub/context.h"
#include "subs_grid.h"
#include "main.h"
#include "frame_main.h"
#include "../include/aegisub/context.h"
#include "../subs_grid.h"
#include "../main.h"
#include "../frame_main.h"
namespace cmd {
/// @defgroup cmd-grid Subtitle grid commands.

View file

@ -36,16 +36,16 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#endif
#include "command.h"
#include "aegisub/context.h"
#include "../include/aegisub/context.h"
#include "help_button.h" // help_contents
#include "main.h"
#include "../help_button.h" // help_contents
#include "../main.h"
namespace cmd {
/// @defgroup cmd-help Help commands.

View file

@ -36,17 +36,17 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#endif
#include "command.h"
#include "aegisub/context.h"
#include "main.h"
#include "compat.h"
#include "video_context.h"
#include "../include/aegisub/context.h"
#include "../main.h"
#include "../compat.h"
#include "../video_context.h"
namespace cmd {
/// @defgroup cmd-keyframed Keyframe commands.

View file

@ -34,14 +34,14 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#endif
#include "command.h"
#include "aegisub/context.h"
#include "../include/aegisub/context.h"
namespace cmd {
/// @defgroup cmd-menu Main menu dropdown and submenu related commands.
@ -87,7 +87,6 @@ public:
}
};
/// Sort lines by column.
class main_edit_sort_lines: public Command {
public:

View file

@ -34,7 +34,7 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#include <wx/event.h>
@ -42,11 +42,11 @@
#include "command.h"
#include "aegisub/context.h"
#include "main.h"
#include "frame_main.h"
#include "compat.h"
#include "video_context.h"
#include "../include/aegisub/context.h"
#include "../main.h"
#include "../frame_main.h"
#include "../compat.h"
#include "../video_context.h"
namespace cmd {
/// @defgroup cmd-recent MRU (Most Recently Used) commands.

View file

@ -36,7 +36,7 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#include <wx/filedlg.h>
@ -47,15 +47,17 @@
#include "command.h"
#include "aegisub/context.h"
#include "dialog_search_replace.h"
#include "dialog_attachments.h"
#include "video_context.h"
#include "main.h"
#include "frame_main.h"
#include "compat.h"
#include "dialog_properties.h"
#include "dialog_spellchecker.h"
#include "../ass_file.h"
#include "../compat.h"
#include "../dialog_attachments.h"
#include "../dialog_properties.h"
#include "../dialog_search_replace.h"
#include "../dialog_spellchecker.h"
#include "../frame_main.h"
#include "../include/aegisub/context.h"
#include "../main.h"
#include "../subs_grid.h"
#include "../video_context.h"
namespace cmd {

View file

@ -36,19 +36,19 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#endif
#include "command.h"
#include "aegisub/context.h"
#include "subs_grid.h"
#include "video_context.h"
#include "ass_dialogue.h"
#include "dialog_shift_times.h"
#include "ass_file.h"
#include "../include/aegisub/context.h"
#include "../subs_grid.h"
#include "../video_context.h"
#include "../ass_dialogue.h"
#include "../dialog_shift_times.h"
#include "../ass_file.h"
namespace cmd {
/// @defgroup cmd-time Time manipulation commands.

View file

@ -36,7 +36,7 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#include <wx/filedlg.h>
@ -44,11 +44,11 @@
#include "command.h"
#include "aegisub/context.h"
#include "video_context.h"
#include "main.h"
#include "compat.h"
#include "subs_edit_box.h"
#include "../include/aegisub/context.h"
#include "../video_context.h"
#include "../main.h"
#include "../compat.h"
#include "../subs_edit_box.h"
namespace cmd {
/// @defgroup cmd-timecode Timecode commands.

View file

@ -36,7 +36,7 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#include <wx/utils.h>
@ -44,17 +44,19 @@
#include "command.h"
#include "aegisub/context.h"
#include "../include/aegisub/context.h"
#include "dialog_fonts_collector.h"
#include "standard_paths.h" // tool_assdraw
#include "video_context.h" // tool_font_collector
#include "dialog_resample.h"
#include "dialog_selection.h"
#include "dialog_style_manager.h"
#include "dialog_timing_processor.h"
#include "dialog_translation.h"
#include "dialog_kara_timing_copy.h"
#include "../dialog_fonts_collector.h"
#include "../standard_paths.h" // tool_assdraw
#include "../video_context.h" // tool_font_collector
#include "../dialog_resample.h"
#include "../dialog_selection.h"
#include "../dialog_styling_assistant.h"
#include "../dialog_style_manager.h"
#include "../dialog_timing_processor.h"
#include "../dialog_translation.h"
#include "../dialog_kara_timing_copy.h"
#include "../subs_grid.h"
namespace cmd {
/// @defgroup cmd-tool Various tool and utilities

View file

@ -36,25 +36,27 @@
/// @ingroup command
///
#include "config.h"
#include "../config.h"
#ifndef AGI_PRE
#endif
#include "command.h"
#include "aegisub/context.h"
#include "video_context.h"
#include "main.h"
#include "utils.h"
#include "frame_main.h"
#include "video_display.h"
#include "dialog_detached_video.h"
#include "dialog_video_details.h"
#include "video_slider.h"
#include "dialog_dummy_video.h"
#include "compat.h"
#include "dialog_jumpto.h"
#include "../compat.h"
#include "../frame_main.h"
#include "../main.h"
#include "../include/aegisub/context.h"
#include "../dialog_detached_video.h"
#include "../dialog_dummy_video.h"
#include "../dialog_jumpto.h"
#include "../dialog_video_details.h"
#include "../subs_grid.h"
#include "../utils.h"
#include "../video_box.h"
#include "../video_context.h"
#include "../video_display.h"
#include "../video_slider.h"
namespace cmd {
/// @defgroup cmd-video Video commands.

View file

@ -44,6 +44,7 @@
#endif
class AssFile;
class AssStyle;
class AssOverrideParameter;
class DialogFontsCollector;
class wxZipOutputStream;

View file

@ -43,7 +43,7 @@
#include <wx/recguard.h>
#endif
#include "aegisub/hotkey.h"
#include "include/aegisub/hotkey.h"
#include "ass_dialogue.h"
#include "ass_file.h"

View file

@ -43,7 +43,7 @@
#include <wx/settings.h>
#endif
#include "aegisub/hotkey.h"
#include "include/aegisub/hotkey.h"
#include "ass_dialogue.h"
#include "ass_file.h"

View file

@ -46,9 +46,9 @@
#include <libaegisub/log.h>
#include "aegisub/menu.h"
#include "aegisub/toolbar.h"
#include "aegisub/hotkey.h"
#include "include/aegisub/menu.h"
#include "include/aegisub/toolbar.h"
#include "include/aegisub/hotkey.h"
#include "ass_file.h"
#include "selection_controller.h"
@ -64,6 +64,7 @@
#include "command/command.h"
#include "dialog_detached_video.h"
#include "dialog_search_replace.h"
#include "dialog_styling_assistant.h"
#include "dialog_version_check.h"
#include "drop.h"
#include "frame_main.h"

View file

@ -47,7 +47,7 @@
#include <wx/timer.h>
#endif
#include "aegisub/context.h"
#include "include/aegisub/context.h"
class AssFile;

View file

@ -31,9 +31,9 @@
#include <libaegisub/log.h>
#include <libaegisub/hotkey.h>
#include "aegisub/hotkey.h"
#include "include/aegisub/hotkey.h"
#include "aegisub/toolbar.h"
#include "include/aegisub/toolbar.h"
#include "libresrc/libresrc.h"
#include "command/command.h"
#include "frame_main.h"

View file

@ -1,15 +1,15 @@
#pragma once // sigh.
#include <wx/window.h>
#include "ass_file.h"
#include "subs_grid.h"
#include "audio_box.h"
#include "video_box.h"
#include "dialog_detached_video.h"
#include "auto4_base.h"
#include "dialog_styling_assistant.h"
#include "audio_controller.h"
class wxWindow;
class DialogStyling;
class AudioBox;
class AudioController;
class DialogDetachedVideo;
class AssFile;
namespace Automation4 { class ScriptManager; }
class SubsEditBox;
class SubtitlesGrid;
class VideoBox;
namespace agi {

View file

@ -50,11 +50,11 @@
#include <wx/utils.h>
#endif
#include "aegisub/menu.h"
#include "include/aegisub/menu.h"
#include "command/command.h"
#include "command/icon.h"
#include "aegisub/toolbar.h"
#include "aegisub/hotkey.h"
#include "include/aegisub/toolbar.h"
#include "include/aegisub/hotkey.h"
#include "ass_dialogue.h"
#include "ass_export_filter.h"

View file

@ -32,7 +32,7 @@
#include <libaegisub/json.h>
#include <libaegisub/log.h>
#include "aegisub/menu.h"
#include "include/aegisub/menu.h"
#include "command/command.h"
#include "libresrc/libresrc.h"
#include "main.h"

View file

@ -54,7 +54,7 @@
#include <wx/spinctrl.h>
#endif
#include "aegisub/hotkey.h"
#include "include/aegisub/hotkey.h"
#include "ass_dialogue.h"
#include "ass_file.h"

View file

@ -46,7 +46,7 @@
#include <wx/tokenzr.h>
#endif
#include "aegisub/hotkey.h"
#include "include/aegisub/hotkey.h"
#include "include/aegisub/audio_provider.h"
#include "ass_file.h"

View file

@ -30,7 +30,7 @@
#include <libaegisub/json.h>
#include <libaegisub/log.h>
#include "aegisub/toolbar.h"
#include "include/aegisub/toolbar.h"
#include "libresrc/libresrc.h"
#include "command/command.h"

View file

@ -56,7 +56,7 @@
#include <GL/glu.h>
#endif
#include "aegisub/hotkey.h"
#include "include/aegisub/hotkey.h"
#include "video_display.h"
#include "selection_controller.h"