Kill the #ifndef AGI_PRE guards

They don't actually improve compilation performance and make it more
annoying to modify what things are in the precompiled header.
This commit is contained in:
Thomas Goyne 2012-12-01 12:47:10 -08:00
parent ff03fef2db
commit 96cf5ea7ed
325 changed files with 0 additions and 655 deletions

View file

@ -11,10 +11,8 @@ Author: Terry Caton
#include "libaegisub/cajun/visitor.h" #include "libaegisub/cajun/visitor.h"
#ifndef LAGI_PRE
#include <algorithm> #include <algorithm>
#include <cassert> #include <cassert>
#endif
namespace { namespace {
using namespace json; using namespace json;

View file

@ -8,11 +8,9 @@ Author: Terry Caton
#include "libaegisub/cajun/reader.h" #include "libaegisub/cajun/reader.h"
#ifndef LAGI_PRE
#include <cassert> #include <cassert>
#include <set> #include <set>
#include <sstream> #include <sstream>
#endif
/* /*

View file

@ -8,11 +8,9 @@ Author: Terry Caton
#include "libaegisub/cajun/writer.h" #include "libaegisub/cajun/writer.h"
#ifndef LAGI_PRE
#include <cmath> #include <cmath>
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#endif
/* /*

View file

@ -20,10 +20,8 @@
#include "charset_6937.h" #include "charset_6937.h"
#ifndef LAGI_PRE
#include <algorithm> #include <algorithm>
#include <cerrno> #include <cerrno>
#endif
#include <iconv.h> #include <iconv.h>

View file

@ -16,13 +16,11 @@
/// @brief Wrapper for libiconv to present a more C++-friendly API /// @brief Wrapper for libiconv to present a more C++-friendly API
/// @ingroup libaegisub /// @ingroup libaegisub
#ifndef LAGI_PRE
#include <errno.h> #include <errno.h>
#include <cstdint> #include <cstdint>
#include <cassert> #include <cassert>
#include <map> #include <map>
#endif
#include "../config.h" #include "../config.h"

View file

@ -18,9 +18,7 @@
#include "libaegisub/charset.h" #include "libaegisub/charset.h"
#ifndef LAGI_PRE
#include <string> #include <string>
#endif
#ifndef _WIN32 #ifndef _WIN32
#define _X86_ 1 #define _X86_ 1

View file

@ -18,12 +18,10 @@
#include "../config.h" #include "../config.h"
#ifndef LAGI_PRE
#include <algorithm> #include <algorithm>
#include <cmath> #include <cmath>
#include <memory> #include <memory>
#include <tuple> #include <tuple>
#endif
#include "libaegisub/hotkey.h" #include "libaegisub/hotkey.h"

View file

@ -16,13 +16,11 @@
/// @brief Windows IO methods. /// @brief Windows IO methods.
/// @ingroup libaegisub /// @ingroup libaegisub
#ifndef LAGI_PRE
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>
#endif
#include <libaegisub/access.h> #include <libaegisub/access.h>
#include <libaegisub/charset_conv_win.h> #include <libaegisub/charset_conv_win.h>

View file

@ -18,10 +18,8 @@
#include "../config.h" #include "../config.h"
#ifndef LAGI_PRE
#include <fstream> #include <fstream>
#include <sstream> #include <sstream>
#endif
#include "libaegisub/io.h" #include "libaegisub/io.h"
#include "libaegisub/json.h" #include "libaegisub/json.h"

View file

@ -20,10 +20,8 @@
#include "../config.h" #include "../config.h"
#ifndef LAGI_PRE
#include <algorithm> #include <algorithm>
#include <fstream> #include <fstream>
#endif
#include "libaegisub/io.h" #include "libaegisub/io.h"
#include "libaegisub/line_iterator.h" #include "libaegisub/line_iterator.h"

View file

@ -18,14 +18,12 @@
#include "../config.h" #include "../config.h"
#ifndef LAGI_PRE
#include <algorithm> #include <algorithm>
#include <cstdio> #include <cstdio>
#include <cstring> #include <cstring>
#include <functional> #include <functional>
#include <memory> #include <memory>
#include <sstream> #include <sstream>
#endif
#include "libaegisub/cajun/elements.h" #include "libaegisub/cajun/elements.h"
#include "libaegisub/cajun/writer.h" #include "libaegisub/cajun/writer.h"

View file

@ -20,13 +20,11 @@
#include "libaegisub/option.h" #include "libaegisub/option.h"
#ifndef LAGI_PRE
#include <cassert> #include <cassert>
#include <fstream> #include <fstream>
#include <map> #include <map>
#include <memory> #include <memory>
#include <sstream> #include <sstream>
#endif
#include "libaegisub/cajun/reader.h" #include "libaegisub/cajun/reader.h"
#include "libaegisub/cajun/writer.h" #include "libaegisub/cajun/writer.h"

View file

@ -21,10 +21,8 @@
#include "option_visit.h" #include "option_visit.h"
#ifndef LAGI_PRE
#include <cassert> #include <cassert>
#include <cmath> #include <cmath>
#endif
#include <libaegisub/color.h> #include <libaegisub/color.h>
#include <libaegisub/log.h> #include <libaegisub/log.h>

View file

@ -21,9 +21,7 @@
#include "libaegisub/cajun/elements.h" #include "libaegisub/cajun/elements.h"
#include "libaegisub/cajun/visitor.h" #include "libaegisub/cajun/visitor.h"
#ifndef LAGI_PRE
#include <vector> #include <vector>
#endif
namespace agi { namespace agi {

View file

@ -12,9 +12,7 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef LAGI_PRE
#include <string> #include <string>
#endif
namespace agi { namespace agi {
struct Color; struct Color;

View file

@ -26,9 +26,7 @@
#include <boost/phoenix/operator/comparison.hpp> #include <boost/phoenix/operator/comparison.hpp>
#include <boost/phoenix/core/argument.hpp> #include <boost/phoenix/core/argument.hpp>
#ifndef LAGI_PRE
#include <cstdlib> #include <cstdlib>
#endif
using boost::phoenix::placeholders::_1; using boost::phoenix::placeholders::_1;

View file

@ -16,13 +16,11 @@
/// @brief Unix utility methods. /// @brief Unix utility methods.
/// @ingroup libaegisub /// @ingroup libaegisub
#ifndef LAGI_PRE
#include <errno.h> #include <errno.h>
#include <climits> #include <climits>
#include <cstdio> #include <cstdio>
#include <locale> #include <locale>
#endif
#include "libaegisub/util.h" #include "libaegisub/util.h"

View file

@ -18,14 +18,12 @@
#include "libaegisub/vfr.h" #include "libaegisub/vfr.h"
#ifndef LAGI_PRE
#include <algorithm> #include <algorithm>
#include <cmath> #include <cmath>
#include <functional> #include <functional>
#include <iterator> #include <iterator>
#include <list> #include <list>
#include <numeric> #include <numeric>
#endif
#include "libaegisub/charset.h" #include "libaegisub/charset.h"
#include "libaegisub/io.h" #include "libaegisub/io.h"

View file

@ -1,4 +1,3 @@
#ifndef LAGI_PRE
#ifdef _WIN32 // Windows specific settings #ifdef _WIN32 // Windows specific settings
#define HAVE_PTHREAD 1 #define HAVE_PTHREAD 1
@ -8,4 +7,3 @@
#include "../acconf.h" #include "../acconf.h"
#endif // _WIN32 #endif // _WIN32
#endif // LAGI_PRE

View file

@ -14,9 +14,7 @@
// //
// Aegisub Project http://www.aegisub.org/ // Aegisub Project http://www.aegisub.org/
#ifndef LAGI_PRE
#include <vector> #include <vector>
#endif
#undef ERROR #undef ERROR

View file

@ -18,11 +18,9 @@
#pragma once #pragma once
#ifndef LAGI_PRE
#include <cstdint> #include <cstdint>
#include <functional> #include <functional>
#include <string> #include <string>
#endif
namespace agi { namespace agi {
/// @class ProgressSink /// @class ProgressSink

View file

@ -8,14 +8,12 @@ Author: Terry Caton
#pragma once #pragma once
#ifndef LAGI_PRE
#include <cstdint> #include <cstdint>
#include <deque> #include <deque>
#include <list> #include <list>
#include <map> #include <map>
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#endif
namespace json namespace json
{ {

View file

@ -10,10 +10,8 @@ Author: Terry Caton
#include "elements.h" #include "elements.h"
#ifndef LAGI_PRE
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#endif
namespace json namespace json
{ {

View file

@ -11,9 +11,7 @@ Author: Terry Caton
#include "elements.h" #include "elements.h"
#include "visitor.h" #include "visitor.h"
#ifndef LAGI_PRE
#include <ostream> #include <ostream>
#endif
namespace json { namespace json {

View file

@ -14,11 +14,9 @@
// //
// Aegisub Project http://www.aegisub.org/ // Aegisub Project http://www.aegisub.org/
#ifndef LAGI_PRE
#include <map> #include <map>
#include <string> #include <string>
#include <vector> #include <vector>
#endif
namespace agi { namespace agi {
namespace ass { struct DialogueToken; } namespace ass { struct DialogueToken; }

View file

@ -16,12 +16,10 @@
/// @brief Character set detection and manipulation utilities. /// @brief Character set detection and manipulation utilities.
/// @ingroup libaegisub /// @ingroup libaegisub
#ifndef LAGI_PRE
#include <fstream> #include <fstream>
#include <functional> #include <functional>
#include <string> #include <string>
#include <vector> #include <vector>
#endif
#include <libaegisub/exception.h> #include <libaegisub/exception.h>
namespace agi { namespace agi {

View file

@ -18,11 +18,9 @@
#pragma once #pragma once
#ifndef LAGI_PRE
#include <cstring> #include <cstring>
#include <string> #include <string>
#include <vector> #include <vector>
#endif
#include <libaegisub/exception.h> #include <libaegisub/exception.h>
#include <libaegisub/scoped_ptr.h> #include <libaegisub/scoped_ptr.h>

View file

@ -14,9 +14,7 @@
#pragma once #pragma once
#ifndef LAGI_PRE
#include <string> #include <string>
#endif
namespace agi { namespace agi {
struct Color { struct Color {

View file

@ -16,12 +16,10 @@
/// @brief Hotkey handler /// @brief Hotkey handler
/// @ingroup hotkey menu event window /// @ingroup hotkey menu event window
#ifndef LAGI_PRE
#include <map> #include <map>
#include <memory> #include <memory>
#include <string> #include <string>
#include <vector> #include <vector>
#endif
#include <libaegisub/signal.h> #include <libaegisub/signal.h>

View file

@ -16,10 +16,8 @@
/// @brief Public interface for IO methods. /// @brief Public interface for IO methods.
/// @ingroup libaegisub /// @ingroup libaegisub
#ifndef LAGI_PRE
#include <string> #include <string>
#include <fstream> #include <fstream>
#endif
#include <libaegisub/exception.h> #include <libaegisub/exception.h>

View file

@ -17,9 +17,7 @@
/// @ingroup libaegisub /// @ingroup libaegisub
/// ///
#ifndef LAGI_PRE
#include <vector> #include <vector>
#endif
#include "exception.h" #include "exception.h"

View file

@ -18,13 +18,11 @@
#pragma once #pragma once
#ifndef LAGI_PRE
#include <iterator> #include <iterator>
#include <memory> #include <memory>
#include <sstream> #include <sstream>
#include <cstdint> #include <cstdint>
#endif
#include <libaegisub/charset_conv.h> #include <libaegisub/charset_conv.h>

View file

@ -15,12 +15,10 @@
/// @file line_wrap.h /// @file line_wrap.h
/// @brief Generic paragraph formatting logic /// @brief Generic paragraph formatting logic
#ifndef LAGI_PRE
#include <algorithm> #include <algorithm>
#include <climits> #include <climits>
#include <numeric> #include <numeric>
#include <vector> #include <vector>
#endif
namespace agi { namespace agi {
enum WrapMode { enum WrapMode {

View file

@ -16,7 +16,6 @@
/// @brief Logging /// @brief Logging
/// @ingroup libaegisub /// @ingroup libaegisub
#ifndef LAGI_PRE
#include <cstdint> #include <cstdint>
#include <cstdio> #include <cstdio>
@ -31,7 +30,6 @@
# include <strstream> # include <strstream>
#endif #endif
#include <vector> #include <vector>
#endif
#include <libaegisub/types.h> #include <libaegisub/types.h>
// These macros below aren't a perm solution, it will depend on how annoying they are through // These macros below aren't a perm solution, it will depend on how annoying they are through

View file

@ -16,12 +16,10 @@
/// @brief Public interface for MRU (Most Recently Used) lists. /// @brief Public interface for MRU (Most Recently Used) lists.
/// @ingroup libaegisub /// @ingroup libaegisub
#ifndef LAGI_PRE
#include <deque> #include <deque>
#include <fstream> #include <fstream>
#include <list> #include <list>
#include <map> #include <map>
#endif
#include <libaegisub/exception.h> #include <libaegisub/exception.h>

View file

@ -18,10 +18,8 @@
#pragma once #pragma once
#ifndef LAGI_PRE
#include <fstream> #include <fstream>
#include <map> #include <map>
#endif
#include <libaegisub/exception.h> #include <libaegisub/exception.h>

View file

@ -16,12 +16,10 @@
/// @brief Container for holding an actual option value. /// @brief Container for holding an actual option value.
/// @ingroup libaegisub /// @ingroup libaegisub
#ifndef LAGI_PRE
#include <cstdint> #include <cstdint>
#include <fstream> #include <fstream>
#include <vector> #include <vector>
#endif
#include <libaegisub/color.h> #include <libaegisub/color.h>
#include <libaegisub/exception.h> #include <libaegisub/exception.h>

View file

@ -18,12 +18,10 @@
#pragma once #pragma once
#ifndef LAGI_PRE
#include <boost/container/map.hpp> #include <boost/container/map.hpp>
#include <functional> #include <functional>
#include <memory> #include <memory>
#endif
namespace agi { namespace agi {
namespace signal { namespace signal {

View file

@ -16,10 +16,8 @@
#pragma once #pragma once
#ifndef LAGI_PRE
#include <string> #include <string>
#include <vector> #include <vector>
#endif
namespace agi { namespace agi {
class SpellChecker { class SpellChecker {

View file

@ -18,12 +18,10 @@
#include <libaegisub/scoped_ptr.h> #include <libaegisub/scoped_ptr.h>
#ifndef LAGI_PRE
#include <iosfwd> #include <iosfwd>
#include <map> #include <map>
#include <string> #include <string>
#include <vector> #include <vector>
#endif
namespace agi { namespace agi {

View file

@ -16,14 +16,12 @@
/// @brief Platform specific types. /// @brief Platform specific types.
/// @ingroup libaegisub /// @ingroup libaegisub
#ifndef LAGI_PRE
#ifdef HAVE_SYS_TIME_H #ifdef HAVE_SYS_TIME_H
# include <sys/time.h> # include <sys/time.h>
#else #else
# include <time.h> # include <time.h>
#endif #endif
#endif // LAGI_PRE
#pragma once #pragma once

View file

@ -16,12 +16,10 @@
/// @brief Public interface for general utilities. /// @brief Public interface for general utilities.
/// @ingroup libaegisub /// @ingroup libaegisub
#ifndef LAGI_PRE
#include <cstdint> #include <cstdint>
#include <string> #include <string>
#include <algorithm> #include <algorithm>
#endif // LAGI_PRE
#include <libaegisub/types.h> #include <libaegisub/types.h>

View file

@ -28,9 +28,7 @@
/// When linking with this library, be sure to add '-framework CoreFoundation' /// When linking with this library, be sure to add '-framework CoreFoundation'
/// to the GCC commandline. /// to the GCC commandline.
#ifndef LAGI_PRE
#include <string> #include <string>
#endif
namespace agi { namespace agi {
namespace util { namespace util {

View file

@ -16,9 +16,7 @@
/// @brief Public interface for Windows utilities. /// @brief Public interface for Windows utilities.
/// @ingroup libaegisub windows /// @ingroup libaegisub windows
#ifndef LAGI_PRE
#include <string> #include <string>
#endif
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>

View file

@ -18,12 +18,10 @@
#pragma once #pragma once
#ifndef LAGI_PRE
#include <string> #include <string>
#include <vector> #include <vector>
#include <cstdint> #include <cstdint>
#endif
#include <libaegisub/exception.h> #include <libaegisub/exception.h>

View file

@ -1,7 +1,5 @@
#include "config.h" #include "config.h"
#define LAGI_PRE
// Common C // Common C
#include <cassert> #include <cassert>
#include <cerrno> #include <cerrno>

View file

@ -20,13 +20,11 @@
#include "libaegisub/access.h" #include "libaegisub/access.h"
#ifndef LAGI_PRE
#include <sys/stat.h> #include <sys/stat.h>
#include <errno.h> #include <errno.h>
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>
#endif
#include <unistd.h> #include <unistd.h>

View file

@ -18,11 +18,9 @@
#include "config.h" #include "config.h"
#ifndef LAGI_PRE
#include <cstdio> #include <cstdio>
#include <ctime> #include <ctime>
#include <cstring> #include <cstring>
#endif
#include <unistd.h> #include <unistd.h>

View file

@ -22,7 +22,6 @@
#include "libaegisub/access.h" #include "libaegisub/access.h"
#ifndef LAGI_PRE
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <sys/statvfs.h> #include <sys/statvfs.h>
@ -34,7 +33,6 @@
#include <string> #include <string>
#include <fstream> #include <fstream>
#endif
#include <string.h> #include <string.h>

View file

@ -16,12 +16,10 @@
/// @brief Windows access methods. /// @brief Windows access methods.
/// @ingroup libaegisub windows /// @ingroup libaegisub windows
#ifndef LAGI_PRE
#include <windows.h> #include <windows.h>
#include <iostream> #include <iostream>
#include <fstream> #include <fstream>
#endif
#include <libaegisub/access.h> #include <libaegisub/access.h>

View file

@ -16,11 +16,9 @@
/// @brief Windows logging /// @brief Windows logging
/// @ingroup libaegisub /// @ingroup libaegisub
#ifndef LAGI_PRE
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>
#include <string.h> #include <string.h>
#endif
#include "libaegisub/log.h" #include "libaegisub/log.h"

View file

@ -16,7 +16,6 @@
/// @brief Windows utility methods. /// @brief Windows utility methods.
/// @ingroup libaegisub windows /// @ingroup libaegisub windows
#ifndef LAGI_PRE
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
@ -24,7 +23,6 @@
#include <fstream> #include <fstream>
#include <windows.h> #include <windows.h>
#endif
#include "libaegisub/access.h" #include "libaegisub/access.h"
#include "libaegisub/charset_conv_win.h" #include "libaegisub/charset_conv_win.h"

View file

@ -70,9 +70,7 @@
# endif # endif
#endif #endif
#ifndef AGI_PRE
#include <cstdint> #include <cstdint>
#endif
/// DOCME /// DOCME

View file

@ -36,7 +36,6 @@
#include "aegisublocale.h" #include "aegisublocale.h"
#ifndef AGI_PRE
#include <algorithm> #include <algorithm>
#include <clocale> #include <clocale>
#include <functional> #include <functional>
@ -46,7 +45,6 @@
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/stdpaths.h> #include <wx/stdpaths.h>
#include <wx/choicdlg.h> // Keep this last so wxUSE_CHOICEDLG is set. #include <wx/choicdlg.h> // Keep this last so wxUSE_CHOICEDLG is set.
#endif
#include "standard_paths.h" #include "standard_paths.h"

View file

@ -32,9 +32,7 @@
/// @ingroup utility /// @ingroup utility
/// ///
#ifndef AGI_PRE
#include <wx/string.h> #include <wx/string.h>
#endif
class wxTranslations; class wxTranslations;

View file

@ -50,8 +50,6 @@
#include "../libaegisub/lagi_pre.h" #include "../libaegisub/lagi_pre.h"
#define AGI_PRE
// General headers // General headers
#include <array> #include <array>
#include <clocale> #include <clocale>

View file

@ -34,11 +34,9 @@
#include "config.h" #include "config.h"
#ifndef AGI_PRE
#include <wx/filename.h> #include <wx/filename.h>
#include <istream> #include <istream>
#endif
#include "ass_attachment.h" #include "ass_attachment.h"

View file

@ -32,10 +32,8 @@
/// @ingroup subs_storage /// @ingroup subs_storage
/// ///
#ifndef AGI_PRE
#include <memory> #include <memory>
#include <vector> #include <vector>
#endif
#include "ass_entry.h" #include "ass_entry.h"

View file

@ -33,14 +33,12 @@
#include "config.h" #include "config.h"
#ifndef AGI_PRE
#include <fstream> #include <fstream>
#include <list> #include <list>
#include <vector> #include <vector>
#include <wx/regex.h> #include <wx/regex.h>
#include <wx/tokenzr.h> #include <wx/tokenzr.h>
#endif
#include "ass_dialogue.h" #include "ass_dialogue.h"
#include "ass_override.h" #include "ass_override.h"

View file

@ -32,9 +32,7 @@
/// @ingroup subs_storage /// @ingroup subs_storage
/// ///
#ifndef AGI_PRE
#include <vector> #include <vector>
#endif
#include "ass_entry.h" #include "ass_entry.h"
#include "ass_time.h" #include "ass_time.h"

View file

@ -34,9 +34,7 @@
#pragma once #pragma once
#ifndef AGI_PRE
#include <wx/string.h> #include <wx/string.h>
#endif
#include <boost/intrusive/list_hook.hpp> #include <boost/intrusive/list_hook.hpp>

View file

@ -34,9 +34,7 @@
#include "config.h" #include "config.h"
#ifndef AGI_PRE
#include <algorithm> #include <algorithm>
#endif
#include "ass_export_filter.h" #include "ass_export_filter.h"
#include "utils.h" #include "utils.h"

View file

@ -34,13 +34,11 @@
#pragma once #pragma once
#ifndef AGI_PRE
#include <memory> #include <memory>
#include <vector> #include <vector>
#include <wx/string.h> #include <wx/string.h>
#include <wx/window.h> #include <wx/window.h>
#endif
class AssFile; class AssFile;
class AssExportFilter; class AssExportFilter;

View file

@ -41,9 +41,7 @@
#include <libaegisub/scoped_ptr.h> #include <libaegisub/scoped_ptr.h>
#ifndef AGI_PRE
#include <algorithm> #include <algorithm>
#endif
static inline FilterList::const_iterator filter_list_begin() { static inline FilterList::const_iterator filter_list_begin() {
return AssExportFilterChain::GetFilterList()->begin(); return AssExportFilterChain::GetFilterList()->begin();

View file

@ -32,14 +32,12 @@
/// @ingroup export /// @ingroup export
/// ///
#ifndef AGI_PRE
#include <wx/arrstr.h> #include <wx/arrstr.h>
#include <wx/sizer.h> #include <wx/sizer.h>
#include <wx/string.h> #include <wx/string.h>
#include <map> #include <map>
#include <vector> #include <vector>
#endif
class AssExportFilter; class AssExportFilter;
class AssFile; class AssFile;

View file

@ -35,7 +35,6 @@
#include "ass_file.h" #include "ass_file.h"
#ifndef AGI_PRE
#include <algorithm> #include <algorithm>
#include <fstream> #include <fstream>
#include <inttypes.h> #include <inttypes.h>
@ -44,7 +43,6 @@
#include <wx/filename.h> #include <wx/filename.h>
#include <wx/log.h> #include <wx/log.h>
#include <wx/msgdlg.h> #include <wx/msgdlg.h>
#endif
#include "ass_attachment.h" #include "ass_attachment.h"
#include "ass_dialogue.h" #include "ass_dialogue.h"

View file

@ -32,14 +32,12 @@
/// @ingroup subs_storage /// @ingroup subs_storage
/// ///
#ifndef AGI_PRE
#include <boost/container/list.hpp> #include <boost/container/list.hpp>
#include <set> #include <set>
#include <vector> #include <vector>
#include <wx/arrstr.h> #include <wx/arrstr.h>
#endif
#include <boost/intrusive/list.hpp> #include <boost/intrusive/list.hpp>

View file

@ -29,9 +29,7 @@
#include "include/aegisub/context.h" #include "include/aegisub/context.h"
#include "selection_controller.h" #include "selection_controller.h"
#ifndef AGI_PRE
#include <wx/intl.h> #include <wx/intl.h>
#endif
wxString AssKaraoke::Syllable::GetText(bool k_tag) const { wxString AssKaraoke::Syllable::GetText(bool k_tag) const {
wxString ret; wxString ret;

View file

@ -20,13 +20,11 @@
/// ///
#ifndef AGI_PRE
#include <map> #include <map>
#include <set> #include <set>
#include <vector> #include <vector>
#include <wx/string.h> #include <wx/string.h>
#endif
#include <libaegisub/signal.h> #include <libaegisub/signal.h>

View file

@ -35,10 +35,8 @@
#include "config.h" #include "config.h"
#ifndef AGI_PRE
#include <wx/log.h> #include <wx/log.h>
#include <wx/tokenzr.h> #include <wx/tokenzr.h>
#endif
#include <libaegisub/log.h> #include <libaegisub/log.h>

View file

@ -32,9 +32,7 @@
/// @ingroup subs_storage /// @ingroup subs_storage
/// ///
#ifndef AGI_PRE
#include <vector> #include <vector>
#endif
#include "variable_data.h" #include "variable_data.h"

View file

@ -22,11 +22,9 @@
#include "ass_style.h" #include "ass_style.h"
#include "subtitle_format.h" #include "subtitle_format.h"
#ifndef AGI_PRE
#include <algorithm> #include <algorithm>
#include <wx/log.h> #include <wx/log.h>
#endif
AssParser::AssParser(AssFile *target, int version) AssParser::AssParser(AssFile *target, int version)
: target(target) : target(target)

View file

@ -12,13 +12,11 @@
// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef AGI_PRE
#include <array> #include <array>
#include <map> #include <map>
#include <memory> #include <memory>
#include <wx/string.h> #include <wx/string.h>
#endif
#include "ass_entry.h" #include "ass_entry.h"

View file

@ -34,12 +34,10 @@
#include "config.h" #include "config.h"
#ifndef AGI_PRE
#include <cctype> #include <cctype>
#include <wx/intl.h> #include <wx/intl.h>
#include <wx/tokenzr.h> #include <wx/tokenzr.h>
#endif
#include "ass_style.h" #include "ass_style.h"
#include "compat.h" #include "compat.h"

View file

@ -32,11 +32,9 @@
/// @ingroup subs_storage /// @ingroup subs_storage
/// ///
#ifndef AGI_PRE
#include <array> #include <array>
#include <wx/colour.h> #include <wx/colour.h>
#endif
#include "ass_entry.h" #include "ass_entry.h"

View file

@ -36,9 +36,7 @@
#include "ass_style_storage.h" #include "ass_style_storage.h"
#ifndef AGI_PRE
#include <functional> #include <functional>
#endif
#include "ass_style.h" #include "ass_style.h"
#include "standard_paths.h" #include "standard_paths.h"

View file

@ -32,11 +32,9 @@
/// @ingroup style_editor /// @ingroup style_editor
/// ///
#ifndef AGI_PRE
#include <deque> #include <deque>
#include <wx/arrstr.h> #include <wx/arrstr.h>
#endif
class AssStyle; class AssStyle;

View file

@ -36,12 +36,10 @@
#include "ass_time.h" #include "ass_time.h"
#ifndef AGI_PRE
#include <algorithm> #include <algorithm>
#include <cmath> #include <cmath>
#include <wx/tokenzr.h> #include <wx/tokenzr.h>
#endif
#include "utils.h" #include "utils.h"

View file

@ -34,9 +34,7 @@
#pragma once #pragma once
#ifndef AGI_PRE
#include <wx/string.h> #include <wx/string.h>
#endif
#include <libaegisub/vfr.h> #include <libaegisub/vfr.h>

View file

@ -34,7 +34,6 @@
#include "config.h" #include "config.h"
#ifndef AGI_PRE
#include <cmath> #include <cmath>
#include <wx/bmpbuttn.h> #include <wx/bmpbuttn.h>
@ -49,7 +48,6 @@
#include <wx/tglbtn.h> #include <wx/tglbtn.h>
#include <wx/toolbar.h> #include <wx/toolbar.h>
#include <wx/laywin.h> // Keep this last so wxSW_3D is set. #include <wx/laywin.h> // Keep this last so wxSW_3D is set.
#endif
#include <libaegisub/log.h> #include <libaegisub/log.h>

View file

@ -32,9 +32,7 @@
/// @ingroup audio_ui /// @ingroup audio_ui
/// ///
#ifndef AGI_PRE
#include <wx/sashwin.h> #include <wx/sashwin.h>
#endif
#include <libaegisub/signal.h> #include <libaegisub/signal.h>

View file

@ -34,9 +34,7 @@
#include "config.h" #include "config.h"
#ifndef AGI_PRE
#include <algorithm> #include <algorithm>
#endif
#include "audio_colorscheme.h" #include "audio_colorscheme.h"

View file

@ -34,11 +34,9 @@
/// Manage colour schemes for the audio display /// Manage colour schemes for the audio display
#ifndef AGI_PRE
#include <vector> #include <vector>
#include <wx/colour.h> #include <wx/colour.h>
#endif
#include "utils.h" #include "utils.h"

View file

@ -34,11 +34,9 @@
#include "config.h" #include "config.h"
#ifndef AGI_PRE
#include <algorithm> #include <algorithm>
#include <wx/filename.h> #include <wx/filename.h>
#endif
#include <libaegisub/io.h> #include <libaegisub/io.h>

View file

@ -33,7 +33,6 @@
#pragma once #pragma once
#ifndef AGI_PRE
#include <cassert> #include <cassert>
#include <cstdint> #include <cstdint>
#include <memory> #include <memory>
@ -45,7 +44,6 @@
#include <wx/timer.h> #include <wx/timer.h>
#include <wx/pen.h> #include <wx/pen.h>
#include <wx/power.h> #include <wx/power.h>
#endif
#include <libaegisub/exception.h> #include <libaegisub/exception.h>
#include <libaegisub/scoped_ptr.h> #include <libaegisub/scoped_ptr.h>

View file

@ -37,13 +37,11 @@
#include "audio_display.h" #include "audio_display.h"
#ifndef AGI_PRE
#include <algorithm> #include <algorithm>
#include <wx/dcbuffer.h> #include <wx/dcbuffer.h>
#include <wx/dcclient.h> #include <wx/dcclient.h>
#include <wx/mousestate.h> #include <wx/mousestate.h>
#endif
#include "ass_time.h" #include "ass_time.h"
#include "audio_colorscheme.h" #include "audio_colorscheme.h"

View file

@ -33,7 +33,6 @@
/// @ingroup audio_ui /// @ingroup audio_ui
/// ///
#ifndef AGI_PRE
#include <deque> #include <deque>
#include <map> #include <map>
#include <cstdint> #include <cstdint>
@ -42,7 +41,6 @@
#include <wx/string.h> #include <wx/string.h>
#include <wx/timer.h> #include <wx/timer.h>
#include <wx/window.h> #include <wx/window.h>
#endif
#include <libaegisub/scoped_ptr.h> #include <libaegisub/scoped_ptr.h>
#include <libaegisub/signal.h> #include <libaegisub/signal.h>

View file

@ -23,7 +23,6 @@
#include "audio_karaoke.h" #include "audio_karaoke.h"
#ifndef AGI_PRE
#include <algorithm> #include <algorithm>
#include <numeric> #include <numeric>
@ -36,7 +35,6 @@
#include <wx/settings.h> #include <wx/settings.h>
#include <wx/sizer.h> #include <wx/sizer.h>
#include <wx/tokenzr.h> #include <wx/tokenzr.h>
#endif
#include "include/aegisub/context.h" #include "include/aegisub/context.h"

View file

@ -19,14 +19,12 @@
/// @ingroup audio_ui /// @ingroup audio_ui
/// ///
#ifndef AGI_PRE
#include <set> #include <set>
#include <vector> #include <vector>
#include <wx/bitmap.h> #include <wx/bitmap.h>
#include <wx/timer.h> #include <wx/timer.h>
#include <wx/window.h> #include <wx/window.h>
#endif
#include <libaegisub/scoped_ptr.h> #include <libaegisub/scoped_ptr.h>
#include <libaegisub/signal.h> #include <libaegisub/signal.h>

View file

@ -28,9 +28,7 @@
#include "pen.h" #include "pen.h"
#include "video_context.h" #include "video_context.h"
#ifndef AGI_PRE
#include <algorithm> #include <algorithm>
#endif
class AudioMarkerKeyframe : public AudioMarker { class AudioMarkerKeyframe : public AudioMarker {
Pen *style; Pen *style;

View file

@ -24,11 +24,9 @@
#include <libaegisub/scoped_ptr.h> #include <libaegisub/scoped_ptr.h>
#include <libaegisub/signal.h> #include <libaegisub/signal.h>
#ifndef AGI_PRE
#include <vector> #include <vector>
#include <wx/string.h> #include <wx/string.h>
#endif
class AudioMarkerKeyframe; class AudioMarkerKeyframe;
class Pen; class Pen;

View file

@ -46,11 +46,9 @@
#include "frame_main.h" #include "frame_main.h"
#include "main.h" #include "main.h"
#ifndef AGI_PRE
#include <algorithm> #include <algorithm>
#include <inttypes.h> #include <inttypes.h>
#endif
class PthreadMutexLocker { class PthreadMutexLocker {
pthread_mutex_t &mutex; pthread_mutex_t &mutex;

View file

@ -34,9 +34,7 @@
#ifdef WITH_DIRECTSOUND #ifdef WITH_DIRECTSOUND
#ifndef AGI_PRE
#include <mmsystem.h> #include <mmsystem.h>
#endif
#include <dsound.h> #include <dsound.h>

View file

@ -36,9 +36,7 @@
#ifdef WITH_DIRECTSOUND #ifdef WITH_DIRECTSOUND
#ifndef AGI_PRE
#include <mmsystem.h> #include <mmsystem.h>
#endif
#include <process.h> #include <process.h>
#include <dsound.h> #include <dsound.h>

View file

@ -47,11 +47,9 @@
#include <AL/alc.h> #include <AL/alc.h>
#endif #endif
#ifndef AGI_PRE
#include <vector> #include <vector>
#include <wx/timer.h> #include <wx/timer.h>
#endif
/// DOCME /// DOCME
/// @class OpenALPlayer /// @class OpenALPlayer

View file

@ -34,9 +34,7 @@
#ifdef WITH_OSS #ifdef WITH_OSS
#ifndef AGI_PRE
#include <sys/param.h> #include <sys/param.h>
#endif
#include <libaegisub/log.h> #include <libaegisub/log.h>

View file

@ -33,11 +33,9 @@
/// ///
#ifdef WITH_OSS #ifdef WITH_OSS
#ifndef AGI_PRE
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <wx/thread.h> #include <wx/thread.h>
#endif
#include <fcntl.h> #include <fcntl.h>
#ifdef HAVE_SOUNDCARD_H #ifdef HAVE_SOUNDCARD_H

View file

@ -40,11 +40,9 @@ extern "C" {
#include <portaudio.h> #include <portaudio.h>
} }
#ifndef AGI_PRE
#include <map> #include <map>
#include <string> #include <string>
#include <vector> #include <vector>
#endif
class wxArrayString; class wxArrayString;

View file

@ -36,11 +36,9 @@
#ifdef WITH_LIBPULSE #ifdef WITH_LIBPULSE
#ifndef AGI_PRE
#include <cstdio> #include <cstdio>
#include <wx/thread.h> #include <wx/thread.h>
#endif
#include "audio_player_pulse.h" #include "audio_player_pulse.h"

View file

@ -35,9 +35,7 @@
#include "config.h" #include "config.h"
#ifndef AGI_PRE
#include <wx/thread.h> #include <wx/thread.h>
#endif
#include "audio_controller.h" #include "audio_controller.h"
#ifdef WITH_AVISYNTH #ifdef WITH_AVISYNTH

Some files were not shown because too many files have changed in this diff Show more