summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-02 03:24:03 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-02 03:24:03 +0300
commit6b83725f3acf5a1e4dd08f4f243609fc66a38c22 (patch)
tree557fb43803ce601f479de524e4b649b56213ebb3
parent205b331825d2d100a442d2d0399d477850d395d3 (diff)
downloadmv-6b83725f3acf5a1e4dd08f4f243609fc66a38c22.tar.gz
mv-6b83725f3acf5a1e4dd08f4f243609fc66a38c22.tar.bz2
mv-6b83725f3acf5a1e4dd08f4f243609fc66a38c22.tar.xz
mv-6b83725f3acf5a1e4dd08f4f243609fc66a38c22.zip
Add leak detector to guichan files.
-rw-r--r--src/guichan/actionevent.cpp2
-rw-r--r--src/guichan/basiccontainer.cpp2
-rw-r--r--src/guichan/cliprectangle.cpp2
-rw-r--r--src/guichan/color.cpp2
-rw-r--r--src/guichan/defaultfont.cpp2
-rw-r--r--src/guichan/event.cpp2
-rw-r--r--src/guichan/exception.cpp2
-rw-r--r--src/guichan/focushandler.cpp2
-rw-r--r--src/guichan/font.cpp2
-rw-r--r--src/guichan/graphics.cpp2
-rw-r--r--src/guichan/gui.cpp2
-rw-r--r--src/guichan/image.cpp2
-rw-r--r--src/guichan/inputevent.cpp2
-rw-r--r--src/guichan/key.cpp2
-rw-r--r--src/guichan/keyevent.cpp2
-rw-r--r--src/guichan/keyinput.cpp2
-rw-r--r--src/guichan/mouseevent.cpp2
-rw-r--r--src/guichan/mouseinput.cpp2
-rw-r--r--src/guichan/rectangle.cpp2
-rw-r--r--src/guichan/sdl/sdlgraphics.cpp2
-rw-r--r--src/guichan/selectionevent.cpp2
-rw-r--r--src/guichan/widget.cpp2
-rw-r--r--src/guichan/widgets/button.cpp2
-rw-r--r--src/guichan/widgets/checkbox.cpp2
-rw-r--r--src/guichan/widgets/container.cpp2
-rw-r--r--src/guichan/widgets/dropdown.cpp2
-rw-r--r--src/guichan/widgets/icon.cpp2
-rw-r--r--src/guichan/widgets/imagebutton.cpp2
-rw-r--r--src/guichan/widgets/label.cpp2
-rw-r--r--src/guichan/widgets/listbox.cpp2
-rw-r--r--src/guichan/widgets/radiobutton.cpp2
-rw-r--r--src/guichan/widgets/scrollarea.cpp2
-rw-r--r--src/guichan/widgets/slider.cpp2
-rw-r--r--src/guichan/widgets/tab.cpp2
-rw-r--r--src/guichan/widgets/tabbedarea.cpp2
-rw-r--r--src/guichan/widgets/textbox.cpp2
-rw-r--r--src/guichan/widgets/textfield.cpp2
-rw-r--r--src/guichan/widgets/window.cpp2
38 files changed, 76 insertions, 0 deletions
diff --git a/src/guichan/actionevent.cpp b/src/guichan/actionevent.cpp
index 57bca04bb..17013ddc9 100644
--- a/src/guichan/actionevent.cpp
+++ b/src/guichan/actionevent.cpp
@@ -47,6 +47,8 @@
#include "guichan/actionevent.hpp"
+#include "debug.h"
+
namespace gcn
{
ActionEvent::ActionEvent(Widget* source, const std::string& id)
diff --git a/src/guichan/basiccontainer.cpp b/src/guichan/basiccontainer.cpp
index 38dbc44f7..aa804f88b 100644
--- a/src/guichan/basiccontainer.cpp
+++ b/src/guichan/basiccontainer.cpp
@@ -54,6 +54,8 @@
#include "guichan/graphics.hpp"
#include "guichan/mouseinput.hpp"
+#include "debug.h"
+
namespace gcn
{
BasicContainer::~BasicContainer()
diff --git a/src/guichan/cliprectangle.cpp b/src/guichan/cliprectangle.cpp
index 8886bb5e9..feaa47729 100644
--- a/src/guichan/cliprectangle.cpp
+++ b/src/guichan/cliprectangle.cpp
@@ -47,6 +47,8 @@
#include "guichan/cliprectangle.hpp"
+#include "debug.h"
+
namespace gcn
{
ClipRectangle::ClipRectangle()
diff --git a/src/guichan/color.cpp b/src/guichan/color.cpp
index 5122e94b0..d8015fa20 100644
--- a/src/guichan/color.cpp
+++ b/src/guichan/color.cpp
@@ -47,6 +47,8 @@
#include "guichan/color.hpp"
+#include "debug.h"
+
namespace gcn
{
Color::Color() :
diff --git a/src/guichan/defaultfont.cpp b/src/guichan/defaultfont.cpp
index 19046c687..4306c7928 100644
--- a/src/guichan/defaultfont.cpp
+++ b/src/guichan/defaultfont.cpp
@@ -52,6 +52,8 @@
#include "guichan/graphics.hpp"
#include "guichan/rectangle.hpp"
+#include "debug.h"
+
namespace gcn
{
int DefaultFont::getHeight() const
diff --git a/src/guichan/event.cpp b/src/guichan/event.cpp
index 4292d5a3f..e8e988b63 100644
--- a/src/guichan/event.cpp
+++ b/src/guichan/event.cpp
@@ -47,6 +47,8 @@
#include "guichan/event.hpp"
+#include "debug.h"
+
namespace gcn
{
Event::Event(Widget* source)
diff --git a/src/guichan/exception.cpp b/src/guichan/exception.cpp
index e82a7bf32..e32c4f97a 100644
--- a/src/guichan/exception.cpp
+++ b/src/guichan/exception.cpp
@@ -47,6 +47,8 @@
#include "guichan/exception.hpp"
+#include "debug.h"
+
namespace gcn
{
Exception::Exception()
diff --git a/src/guichan/focushandler.cpp b/src/guichan/focushandler.cpp
index efc76fb43..bb0378f59 100644
--- a/src/guichan/focushandler.cpp
+++ b/src/guichan/focushandler.cpp
@@ -51,6 +51,8 @@
#include "guichan/exception.hpp"
#include "guichan/widget.hpp"
+#include "debug.h"
+
namespace gcn
{
FocusHandler::FocusHandler() :
diff --git a/src/guichan/font.cpp b/src/guichan/font.cpp
index aa5924832..83b3727e3 100644
--- a/src/guichan/font.cpp
+++ b/src/guichan/font.cpp
@@ -49,6 +49,8 @@
#include <string>
+#include "debug.h"
+
namespace gcn
{
int Font::getStringIndexAt(const std::string& text, int x) const
diff --git a/src/guichan/graphics.cpp b/src/guichan/graphics.cpp
index 7809223b7..d09050a10 100644
--- a/src/guichan/graphics.cpp
+++ b/src/guichan/graphics.cpp
@@ -51,6 +51,8 @@
#include "guichan/font.hpp"
#include "guichan/image.hpp"
+#include "debug.h"
+
namespace gcn
{
diff --git a/src/guichan/gui.cpp b/src/guichan/gui.cpp
index 45154fd39..bec4c875f 100644
--- a/src/guichan/gui.cpp
+++ b/src/guichan/gui.cpp
@@ -58,6 +58,8 @@
#include "guichan/mouselistener.hpp"
#include "guichan/widget.hpp"
+#include "debug.h"
+
namespace gcn
{
Gui::Gui() :
diff --git a/src/guichan/image.cpp b/src/guichan/image.cpp
index 8a9213f9e..2c15151a2 100644
--- a/src/guichan/image.cpp
+++ b/src/guichan/image.cpp
@@ -50,6 +50,8 @@
#include "guichan/exception.hpp"
#include "guichan/imageloader.hpp"
+#include "debug.h"
+
namespace gcn
{
diff --git a/src/guichan/inputevent.cpp b/src/guichan/inputevent.cpp
index d10b16823..7a3bdb06d 100644
--- a/src/guichan/inputevent.cpp
+++ b/src/guichan/inputevent.cpp
@@ -47,6 +47,8 @@
#include "guichan/inputevent.hpp"
+#include "debug.h"
+
namespace gcn
{
InputEvent::InputEvent(Widget* source,
diff --git a/src/guichan/key.cpp b/src/guichan/key.cpp
index 1609a6a3c..d6c7e2313 100644
--- a/src/guichan/key.cpp
+++ b/src/guichan/key.cpp
@@ -47,6 +47,8 @@
#include "guichan/key.hpp"
+#include "debug.h"
+
namespace gcn
{
Key::Key(int value) :
diff --git a/src/guichan/keyevent.cpp b/src/guichan/keyevent.cpp
index 74c6a7983..1bc8fe9d2 100644
--- a/src/guichan/keyevent.cpp
+++ b/src/guichan/keyevent.cpp
@@ -47,6 +47,8 @@
#include "guichan/keyevent.hpp"
+#include "debug.h"
+
namespace gcn
{
KeyEvent::KeyEvent(Widget* source,
diff --git a/src/guichan/keyinput.cpp b/src/guichan/keyinput.cpp
index d0a3a1f7a..0a40d7c65 100644
--- a/src/guichan/keyinput.cpp
+++ b/src/guichan/keyinput.cpp
@@ -47,6 +47,8 @@
#include "guichan/keyinput.hpp"
+#include "debug.h"
+
namespace gcn
{
KeyInput::KeyInput(const Key& key, unsigned int type)
diff --git a/src/guichan/mouseevent.cpp b/src/guichan/mouseevent.cpp
index e036fdce5..e5046ed15 100644
--- a/src/guichan/mouseevent.cpp
+++ b/src/guichan/mouseevent.cpp
@@ -47,6 +47,8 @@
#include "guichan/mouseevent.hpp"
+#include "debug.h"
+
namespace gcn
{
MouseEvent::MouseEvent(Widget* source,
diff --git a/src/guichan/mouseinput.cpp b/src/guichan/mouseinput.cpp
index 5af29c841..5ebcfa475 100644
--- a/src/guichan/mouseinput.cpp
+++ b/src/guichan/mouseinput.cpp
@@ -47,6 +47,8 @@
#include "guichan/mouseinput.hpp"
+#include "debug.h"
+
namespace gcn
{
MouseInput::MouseInput(unsigned int button,
diff --git a/src/guichan/rectangle.cpp b/src/guichan/rectangle.cpp
index cb0e1aefd..93e180ae5 100644
--- a/src/guichan/rectangle.cpp
+++ b/src/guichan/rectangle.cpp
@@ -47,6 +47,8 @@
#include "guichan/rectangle.hpp"
+#include "debug.h"
+
namespace gcn
{
Rectangle::Rectangle()
diff --git a/src/guichan/sdl/sdlgraphics.cpp b/src/guichan/sdl/sdlgraphics.cpp
index d80c1dd87..28aface0e 100644
--- a/src/guichan/sdl/sdlgraphics.cpp
+++ b/src/guichan/sdl/sdlgraphics.cpp
@@ -53,6 +53,8 @@
#include "guichan/sdl/sdlimage.hpp"
#include "guichan/sdl/sdlpixel.hpp"
+#include "debug.h"
+
// For some reason an old version of MSVC did not like std::abs,
// so we added this macro.
#ifndef ABS
diff --git a/src/guichan/selectionevent.cpp b/src/guichan/selectionevent.cpp
index 964bbab92..e707cedf8 100644
--- a/src/guichan/selectionevent.cpp
+++ b/src/guichan/selectionevent.cpp
@@ -47,6 +47,8 @@
#include "guichan/selectionevent.hpp"
+#include "debug.h"
+
namespace gcn
{
SelectionEvent::SelectionEvent(Widget* source)
diff --git a/src/guichan/widget.cpp b/src/guichan/widget.cpp
index 20cf35f1e..e143e4a97 100644
--- a/src/guichan/widget.cpp
+++ b/src/guichan/widget.cpp
@@ -62,6 +62,8 @@
#include "guichan/mouselistener.hpp"
#include "guichan/widgetlistener.hpp"
+#include "debug.h"
+
namespace gcn
{
Font* Widget::mGlobalFont = NULL;
diff --git a/src/guichan/widgets/button.cpp b/src/guichan/widgets/button.cpp
index 9f18cab40..76d69bf2d 100644
--- a/src/guichan/widgets/button.cpp
+++ b/src/guichan/widgets/button.cpp
@@ -54,6 +54,8 @@
#include "guichan/mouseevent.hpp"
#include "guichan/mouseinput.hpp"
+#include "debug.h"
+
namespace gcn
{
Button::Button()
diff --git a/src/guichan/widgets/checkbox.cpp b/src/guichan/widgets/checkbox.cpp
index 5f0a52612..04423a6e9 100644
--- a/src/guichan/widgets/checkbox.cpp
+++ b/src/guichan/widgets/checkbox.cpp
@@ -52,6 +52,8 @@
#include "guichan/key.hpp"
#include "guichan/mouseinput.hpp"
+#include "debug.h"
+
namespace gcn
{
diff --git a/src/guichan/widgets/container.cpp b/src/guichan/widgets/container.cpp
index c9a845497..7ab34a93b 100644
--- a/src/guichan/widgets/container.cpp
+++ b/src/guichan/widgets/container.cpp
@@ -50,6 +50,8 @@
#include "guichan/exception.hpp"
#include "guichan/graphics.hpp"
+#include "debug.h"
+
namespace gcn
{
diff --git a/src/guichan/widgets/dropdown.cpp b/src/guichan/widgets/dropdown.cpp
index da7ff754c..e02f0fa3b 100644
--- a/src/guichan/widgets/dropdown.cpp
+++ b/src/guichan/widgets/dropdown.cpp
@@ -52,6 +52,8 @@
#include "guichan/widgets/listbox.hpp"
#include "guichan/widgets/scrollarea.hpp"
+#include "debug.h"
+
namespace gcn
{
DropDown::DropDown(ListModel *listModel,
diff --git a/src/guichan/widgets/icon.cpp b/src/guichan/widgets/icon.cpp
index a040dcc83..2983c7c29 100644
--- a/src/guichan/widgets/icon.cpp
+++ b/src/guichan/widgets/icon.cpp
@@ -51,6 +51,8 @@
#include "guichan/image.hpp"
#include "guichan/rectangle.hpp"
+#include "debug.h"
+
namespace gcn
{
Icon::Icon()
diff --git a/src/guichan/widgets/imagebutton.cpp b/src/guichan/widgets/imagebutton.cpp
index 141b17b79..2f4c5dcde 100644
--- a/src/guichan/widgets/imagebutton.cpp
+++ b/src/guichan/widgets/imagebutton.cpp
@@ -50,6 +50,8 @@
#include "guichan/graphics.hpp"
#include "guichan/image.hpp"
+#include "debug.h"
+
namespace gcn
{
ImageButton::ImageButton() :
diff --git a/src/guichan/widgets/label.cpp b/src/guichan/widgets/label.cpp
index 9b11206a6..a5c967e2b 100644
--- a/src/guichan/widgets/label.cpp
+++ b/src/guichan/widgets/label.cpp
@@ -51,6 +51,8 @@
#include "guichan/font.hpp"
#include "guichan/graphics.hpp"
+#include "debug.h"
+
namespace gcn
{
Label::Label()
diff --git a/src/guichan/widgets/listbox.cpp b/src/guichan/widgets/listbox.cpp
index b8778e596..95f04fc68 100644
--- a/src/guichan/widgets/listbox.cpp
+++ b/src/guichan/widgets/listbox.cpp
@@ -55,6 +55,8 @@
#include "guichan/mouseinput.hpp"
#include "guichan/selectionlistener.hpp"
+#include "debug.h"
+
namespace gcn
{
ListBox::ListBox() :
diff --git a/src/guichan/widgets/radiobutton.cpp b/src/guichan/widgets/radiobutton.cpp
index 2b2ae7315..2cada912a 100644
--- a/src/guichan/widgets/radiobutton.cpp
+++ b/src/guichan/widgets/radiobutton.cpp
@@ -52,6 +52,8 @@
#include "guichan/key.hpp"
#include "guichan/mouseinput.hpp"
+#include "debug.h"
+
namespace gcn
{
RadioButton::GroupMap RadioButton::mGroupMap;
diff --git a/src/guichan/widgets/scrollarea.cpp b/src/guichan/widgets/scrollarea.cpp
index 2e853caa4..f40ba5b87 100644
--- a/src/guichan/widgets/scrollarea.cpp
+++ b/src/guichan/widgets/scrollarea.cpp
@@ -50,6 +50,8 @@
#include "guichan/exception.hpp"
#include "guichan/graphics.hpp"
+#include "debug.h"
+
namespace gcn
{
ScrollArea::ScrollArea()
diff --git a/src/guichan/widgets/slider.cpp b/src/guichan/widgets/slider.cpp
index 3bc9d77aa..eba88382c 100644
--- a/src/guichan/widgets/slider.cpp
+++ b/src/guichan/widgets/slider.cpp
@@ -51,6 +51,8 @@
#include "guichan/key.hpp"
#include "guichan/mouseinput.hpp"
+#include "debug.h"
+
namespace gcn
{
Slider::Slider(double scaleEnd)
diff --git a/src/guichan/widgets/tab.cpp b/src/guichan/widgets/tab.cpp
index b0d0c7982..61efbd5b0 100644
--- a/src/guichan/widgets/tab.cpp
+++ b/src/guichan/widgets/tab.cpp
@@ -53,6 +53,8 @@
#include "guichan/widgets/label.hpp"
#include "guichan/widgets/tabbedarea.hpp"
+#include "debug.h"
+
namespace gcn
{
Tab::Tab() :
diff --git a/src/guichan/widgets/tabbedarea.cpp b/src/guichan/widgets/tabbedarea.cpp
index 26a45c1f0..b22d615e9 100644
--- a/src/guichan/widgets/tabbedarea.cpp
+++ b/src/guichan/widgets/tabbedarea.cpp
@@ -57,6 +57,8 @@
#include <algorithm>
+#include "debug.h"
+
namespace gcn
{
TabbedArea::TabbedArea() :
diff --git a/src/guichan/widgets/textbox.cpp b/src/guichan/widgets/textbox.cpp
index 55858f7c5..35fbf5437 100644
--- a/src/guichan/widgets/textbox.cpp
+++ b/src/guichan/widgets/textbox.cpp
@@ -53,6 +53,8 @@
#include "guichan/key.hpp"
#include "guichan/mouseinput.hpp"
+#include "debug.h"
+
namespace gcn
{
TextBox::TextBox()
diff --git a/src/guichan/widgets/textfield.cpp b/src/guichan/widgets/textfield.cpp
index 7f4325529..af2b9582f 100644
--- a/src/guichan/widgets/textfield.cpp
+++ b/src/guichan/widgets/textfield.cpp
@@ -52,6 +52,8 @@
#include "guichan/key.hpp"
#include "guichan/mouseinput.hpp"
+#include "debug.h"
+
namespace gcn
{
TextField::TextField()
diff --git a/src/guichan/widgets/window.cpp b/src/guichan/widgets/window.cpp
index f3aca23d0..a26c38541 100644
--- a/src/guichan/widgets/window.cpp
+++ b/src/guichan/widgets/window.cpp
@@ -52,6 +52,8 @@
#include "guichan/graphics.hpp"
#include "guichan/mouseinput.hpp"
+#include "debug.h"
+
namespace gcn
{
Window::Window() :