From b65aae46de898d71db36f5de9e4c293cd3b05c40 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Sat, 27 Aug 2005 15:34:49 +0000 Subject: Small cleanups. --- ChangeLog | 4 ++++ src/gui/updatewindow.cpp | 3 --- src/gui/updatewindow.h | 7 ++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6774963f..cd5fb93c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-08-27 Björn Steinbrink + + * src/gui/updatewindow.cpp, src/gui/updatewindow.h: Small cleanups. + 2005-08-25 Ferreira Yohann * src/gui/buy.h, src/gui/buy.cpp, src/gui/sell.h, src/gui/sell.cpp, diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp index c2220ada..0ec591b1 100644 --- a/src/gui/updatewindow.cpp +++ b/src/gui/updatewindow.cpp @@ -37,7 +37,6 @@ #include "browserbox.h" #include "button.h" #include "gui.h" -#include "ok_dialog.h" #include "progressbar.h" #include "scrollarea.h" @@ -46,8 +45,6 @@ #include "../log.h" #include "../main.h" -#include "../resources/resourcemanager.h" - extern Graphics *graphics; UpdaterWindow::UpdaterWindow(): diff --git a/src/gui/updatewindow.h b/src/gui/updatewindow.h index 95c4f9d6..c062b484 100644 --- a/src/gui/updatewindow.h +++ b/src/gui/updatewindow.h @@ -32,7 +32,8 @@ class BrowserBox; class Button; class ProgressBar; class ScrollArea; -class VBox; +class SDL_Thread; +class SDL_mutex; /** * Update progress window GUI @@ -116,12 +117,12 @@ class UpdaterWindow : public Window, public gcn::ActionListener /** * A thread that use libcurl to download updates. */ - class SDL_Thread *mThread; + SDL_Thread *mThread; /** * A mutex to protect shared data between the threads. */ - class SDL_mutex *mMutex; + SDL_mutex *mMutex; /** * Status of the current download. -- cgit v1.2.3-70-g09d2