Add missing headers when not using precompiled header support. Some minor formatting in libaegisub/common/hotkey.cpp.

Originally committed to SVN as r5135.
This commit is contained in:
Amar Takhar 2011-01-08 12:10:40 +00:00
parent c95d92c2ca
commit 0d7b2c6e76
9 changed files with 23 additions and 2 deletions

View file

@ -26,11 +26,15 @@
#include <memory> #include <memory>
#endif #endif
#include "libaegisub/hotkey.h"
#include "libaegisub/access.h" #include "libaegisub/access.h"
#include "libaegisub/cajun/writer.h"
#include "libaegisub/exception.h"
#include "libaegisub/io.h" #include "libaegisub/io.h"
#include "libaegisub/json.h" #include "libaegisub/json.h"
#include "libaegisub/log.h" #include "libaegisub/log.h"
#include "libaegisub/hotkey.h"
namespace agi { namespace agi {
namespace hotkey { namespace hotkey {

View file

@ -39,6 +39,7 @@
#include "../config.h" #include "../config.h"
#ifndef AGI_PRE #ifndef AGI_PRE
#include <wx/msgdlg.h>
#endif #endif
#include "command.h" #include "command.h"

View file

@ -18,9 +18,18 @@
/// @brief Command base class and main header. /// @brief Command base class and main header.
/// @ingroup command /// @ingroup command
#ifndef AGI_PRE
#include <map>
#endif
#include <libaegisub/exception.h>
#include "../include/aegisub/context.h" #include "../include/aegisub/context.h"
#include "icon.h" #include "icon.h"
DEFINE_BASE_EXCEPTION_NOINNER(CommandError, agi::Exception) DEFINE_BASE_EXCEPTION_NOINNER(CommandError, agi::Exception)
DEFINE_SIMPLE_EXCEPTION_NOINNER(CommandIconNone, CommandError, "command/icon") DEFINE_SIMPLE_EXCEPTION_NOINNER(CommandIconNone, CommandError, "command/icon")
DEFINE_SIMPLE_EXCEPTION_NOINNER(CommandIconInvalid, CommandError, "command/icon/invalid") DEFINE_SIMPLE_EXCEPTION_NOINNER(CommandIconInvalid, CommandError, "command/icon/invalid")

View file

@ -39,6 +39,7 @@
#include "../config.h" #include "../config.h"
#ifndef AGI_PRE #ifndef AGI_PRE
#include <wx/msgdlg.h>
#endif #endif
#include "command.h" #include "command.h"

View file

@ -20,6 +20,8 @@
#ifndef AGI_PRE #ifndef AGI_PRE
#include <map>
#include <wx/bitmap.h> #include <wx/bitmap.h>
#include <wx/image.h> #include <wx/image.h>
#include <wx/mstream.h> #include <wx/mstream.h>

View file

@ -39,6 +39,7 @@
#include "../config.h" #include "../config.h"
#ifndef AGI_PRE #ifndef AGI_PRE
#include <wx/filedlg.h>
#endif #endif
#include "command.h" #include "command.h"

View file

@ -39,6 +39,7 @@
#include "../config.h" #include "../config.h"
#ifndef AGI_PRE #ifndef AGI_PRE
#include <wx/filename.h>
#include <wx/filedlg.h> #include <wx/filedlg.h>
#include <wx/choicdlg.h> #include <wx/choicdlg.h>
#endif #endif

View file

@ -39,6 +39,7 @@
#include "../config.h" #include "../config.h"
#ifndef AGI_PRE #ifndef AGI_PRE
#include <algorithm>
#endif #endif
#include "command.h" #include "command.h"

View file

@ -36,6 +36,7 @@
#include "config.h" #include "config.h"
#ifndef AGI_PRE #ifndef AGI_PRE
#include <wx/clipbrd.h>
#include <wx/filename.h> #include <wx/filename.h>
#include <wx/image.h> #include <wx/image.h>
#include <wx/mimetype.h> #include <wx/mimetype.h>