Author: esr
Date: Sun Jul 1 01:02:11 2007
New Revision: 18584
URL: http://svn.gna.org/viewcvs/wesnoth?rev=18584&view=rev
Log:
Remove some unneeded includes.
Modified:
trunk/src/basic_dialog.cpp
trunk/src/construct_dialog.cpp
Modified: trunk/src/basic_dialog.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/basic_dialog.cpp?rev=18584&r1=18583&r2=18584&view=diff
==============================================================================
--- trunk/src/basic_dialog.cpp (original)
+++ trunk/src/basic_dialog.cpp Sun Jul 1 01:02:11 2007
@@ -17,7 +17,6 @@
#include "basic_dialog.hpp"
#include "config.hpp"
-#include "cursor.hpp"
#include "display.hpp"
#include "events.hpp"
#include "gettext.hpp"
@@ -26,18 +25,11 @@
#include "key.hpp"
#include "sound.hpp"
#include "log.hpp"
+#include "language.hpp"
#include "marked-up_text.hpp"
-#include "thread.hpp"
-#include "language.hpp"
-#include "sdl_utils.hpp"
-#include "tooltips.hpp"
-#include "util.hpp"
-#include "video.hpp"
#include "widgets/button.hpp"
#include "widgets/menu.hpp"
-#include "widgets/progressbar.hpp"
#include "widgets/textbox.hpp"
-#include "wassert.hpp"
#include "sdl_ttf/SDL_ttf.h"
Modified: trunk/src/construct_dialog.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/construct_dialog.cpp?rev=18584&r1=18583&r2=18584&view=diff
==============================================================================
--- trunk/src/construct_dialog.cpp (original)
+++ trunk/src/construct_dialog.cpp Sun Jul 1 01:02:11 2007
@@ -12,38 +12,10 @@
See the COPYING file for more details.
*/
#include "construct_dialog.hpp"
-#include "config.hpp"
-#include "cursor.hpp"
#include "display.hpp"
+#include "gettext.hpp"
#include "help.hpp"
-#include "events.hpp"
-#include "gettext.hpp"
#include "hotkeys.hpp"
-#include "image.hpp"
-#include "key.hpp"
-#include "sound.hpp"
-#include "log.hpp"
-#include "marked-up_text.hpp"
-#include "thread.hpp"
-#include "language.hpp"
-#include "sdl_utils.hpp"
-#include "tooltips.hpp"
-#include "util.hpp"
-#include "video.hpp"
-#include "widgets/button.hpp"
-#include "widgets/menu.hpp"
-#include "widgets/progressbar.hpp"
-#include "widgets/textbox.hpp"
-#include "wassert.hpp"
-
-#include "sdl_ttf/SDL_ttf.h"
-
-#include <iostream>
-#include <numeric>
-
-#define ERR_DP LOG_STREAM(err, display)
-#define LOG_DP LOG_STREAM(info, display)
-#define ERR_G LOG_STREAM(err, general)
namespace {
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits