From 3dcf21babe03cee5080a25e787e1d7e72124288e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 22 Sep 2012 01:34:49 +0300 Subject: Add final keyword to most classes. --- src/gui/widgets/browserbox.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/widgets/browserbox.h') diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h index ed7208031..e95507c8c 100644 --- a/src/gui/widgets/browserbox.h +++ b/src/gui/widgets/browserbox.h @@ -36,14 +36,14 @@ class Image; class Resource; class LinkHandler; -struct BROWSER_LINK +struct BROWSER_LINK final { int x1, x2, y1, y2; /**< Where link is placed */ std::string link; std::string caption; }; -class LinePart +class LinePart final { public: LinePart(const int x, const int y, const gcn::Color color, @@ -74,8 +74,8 @@ class LinePart * A simple browser box able to handle links and forward events to the * parent conteiner. */ -class BrowserBox : public gcn::Widget, - public gcn::MouseListener +class BrowserBox final : public gcn::Widget, + public gcn::MouseListener { public: /** -- cgit v1.2.3-70-g09d2