From c79403e1341ac533df1771b866d1f5cee15e12b5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 28 Aug 2012 01:59:04 +0300 Subject: Add const to more classes. --- src/gui/shortcutwindow.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gui/shortcutwindow.h') diff --git a/src/gui/shortcutwindow.h b/src/gui/shortcutwindow.h index bdff5ab0d..9d50665b4 100644 --- a/src/gui/shortcutwindow.h +++ b/src/gui/shortcutwindow.h @@ -40,21 +40,22 @@ class ShortcutWindow : public Window /** * Constructor. */ - ShortcutWindow(const std::string &title, ShortcutContainer *content, + ShortcutWindow(const std::string &title, + ShortcutContainer *const content, std::string skinFile = "", int width = 0, int height = 0); ShortcutWindow(const std::string &title, std::string skinFile = "", - int width = 0, int height = 0); + const int width = 0, const int height = 0); /** * Destructor. */ ~ShortcutWindow(); - void addTab(std::string name, ShortcutContainer *content); + void addTab(std::string name, ShortcutContainer *const content); - int getTabIndex(); + int getTabIndex() const; void widgetHidden(const gcn::Event &event); -- cgit v1.2.3-70-g09d2