From 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Oct 2012 13:05:34 +0300 Subject: Add unused warnings to other files. --- src/gui/widgets/browserbox.h | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'src/gui/widgets/browserbox.h') diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h index ceb4b1b3f..591d83a07 100644 --- a/src/gui/widgets/browserbox.h +++ b/src/gui/widgets/browserbox.h @@ -116,12 +116,6 @@ class BrowserBox final : public gcn::Widget, void setMaxRow(unsigned max) { mMaxRows = max; }; - /** - * Disable links & user defined colors to be used in chat input. - */ -/* - void disableLinksAndUserColors(); -*/ /** * Adds a text row to the browser. */ @@ -139,10 +133,6 @@ class BrowserBox final : public gcn::Widget, */ void clearRows(); -// void setSize(int width, int height); - -// void widgetResized(const gcn::Event &event); - /** * Handles mouse actions. */ @@ -192,10 +182,10 @@ class BrowserBox final : public gcn::Widget, typedef std::list TextRows; - TextRows &getRows() + TextRows &getRows() A_WARN_UNUSED { return mTextRows; } - bool hasRows() const + bool hasRows() const A_WARN_UNUSED { return !mTextRows.empty(); } void setAlwaysUpdate(bool n) @@ -207,10 +197,10 @@ class BrowserBox final : public gcn::Widget, void setEnableImages(bool n) { mEnableImages = n; } - std::string getTextAtPos(const int x, const int y) const; + std::string getTextAtPos(const int x, const int y) const A_WARN_UNUSED; private: - int calcHeight(); + int calcHeight() A_WARN_UNUSED; typedef TextRows::iterator TextRowIterator; typedef TextRows::const_iterator TextRowCIter; -- cgit v1.2.3-70-g09d2