* Remove #pragma once.

* Sort wx headers and wrap with #ifndef WX_PRE.
 * Add missing heade rto stdwx.h.
M    src/ass_attachment.h
M    src/subs_grid.cpp
M    src/ass_dialogue.cpp
M    src/ass_attachment.cpp
M    src/aegisub_endian.h
M    src/audio_display.cpp
M    src/audio_karaoke.cpp
M    src/dialog_kara_timing_copy.cpp
M    src/ass_dialogue.h
M    src/text_file_writer.cpp
M    src/stdwx.h

Originally committed to SVN as r3503.
This commit is contained in:
Amar Takhar 2009-09-10 02:23:43 +00:00
parent d519f4589d
commit 925fa88c0c
11 changed files with 11 additions and 28 deletions

View file

@ -33,13 +33,6 @@
/// @ingroup utility /// @ingroup utility
/// ///
#pragma once
#ifndef _AEGISUB_ENDIAN_H
/// DOCME
#define _AEGISUB_ENDIAN_H
// Sanity check // Sanity check
@ -468,6 +461,3 @@ namespace Endian {
}; };
#endif

View file

@ -39,8 +39,11 @@
// Includes // Includes
#include "config.h" #include "config.h"
#include <wx/wfstream.h> #ifndef WX_PRE
#include <wx/filename.h> #include <wx/filename.h>
#include <wx/wfstream.h>
#endif
#include "ass_attachment.h" #include "ass_attachment.h"

View file

@ -35,9 +35,6 @@
/// ///
#pragma once
/////////// ///////////
// Headers // Headers
#include "ass_entry.h" #include "ass_entry.h"
@ -104,5 +101,3 @@ public:
AssAttachment(wxString name); AssAttachment(wxString name);
~AssAttachment(); ~AssAttachment();
}; };

View file

@ -39,9 +39,12 @@
// Includes // Includes
#include "config.h" #include "config.h"
#include <fstream> #ifndef WX_PRE
#include <wx/tokenzr.h>
#include <wx/regex.h> #include <wx/regex.h>
#include <wx/tokenzr.h>
#endif
#include <fstream>
#include "ass_dialogue.h" #include "ass_dialogue.h"
#include "ass_override.h" #include "ass_override.h"
#include "vfr.h" #include "vfr.h"

View file

@ -35,9 +35,6 @@
/// ///
#pragma once
//////////// ////////////
// Includes // Includes
#include <vector> #include <vector>
@ -294,5 +291,3 @@ public:
AssDialogue(wxString data,int version=1); AssDialogue(wxString data,int version=1);
~AssDialogue(); ~AssDialogue();
}; };

View file

@ -45,7 +45,7 @@
#include <vector> #include <vector>
#include "audio_display.h" #include "audio_display.h"
#include "audio_provider_stream.h" #include "audio_provider_stream.h"
#include "ass_dialogue.h" //#include "ass_dialogue.h"
#include "subs_grid.h" #include "subs_grid.h"
#include "ass_file.h" #include "ass_file.h"
#include "subs_edit_box.h" #include "subs_edit_box.h"

View file

@ -42,7 +42,6 @@
#include "audio_karaoke.h" #include "audio_karaoke.h"
#include "audio_display.h" #include "audio_display.h"
#include "audio_box.h" #include "audio_box.h"
#include "ass_dialogue.h"
#include "ass_override.h" #include "ass_override.h"
#include <wx/tokenzr.h> #include <wx/tokenzr.h>
#include <wx/menu.h> #include <wx/menu.h>

View file

@ -44,7 +44,6 @@
#include <deque> #include <deque>
#include "dialog_kara_timing_copy.h" #include "dialog_kara_timing_copy.h"
#include "ass_file.h" #include "ass_file.h"
#include "ass_dialogue.h"
#include "ass_style.h" #include "ass_style.h"
#include "ass_override.h" #include "ass_override.h"
#include "subs_grid.h" #include "subs_grid.h"

View file

@ -77,6 +77,7 @@
#include <wx/event.h> #include <wx/event.h>
#include <wx/stc/stc.h> #include <wx/stc/stc.h>
#include <wx/string.h> #include <wx/string.h>
#include <wx/regex.h>
#ifdef HAVE_APPLE_OPENGL_FRAMEWORK #ifdef HAVE_APPLE_OPENGL_FRAMEWORK
#include <OpenGL/GL.h> #include <OpenGL/GL.h>
#include <OpenGL/glu.h> #include <OpenGL/glu.h>

View file

@ -45,7 +45,6 @@
#include <wx/filename.h> #include <wx/filename.h>
#include "subs_grid.h" #include "subs_grid.h"
#include "ass_file.h" #include "ass_file.h"
#include "ass_dialogue.h"
#include "ass_style.h" #include "ass_style.h"
#include "video_display.h" #include "video_display.h"
#include "video_context.h" #include "video_context.h"

View file

@ -39,7 +39,6 @@
#include <fstream> #include <fstream>
#include "text_file_writer.h" #include "text_file_writer.h"
#include "options.h" #include "options.h"
#include "aegisub_endian.h"
#include "charset_conv.h" #include "charset_conv.h"