summaryrefslogtreecommitdiff
path: root/src/gui/shortcutwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-28 01:59:04 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-28 01:59:04 +0300
commitc79403e1341ac533df1771b866d1f5cee15e12b5 (patch)
tree5bed6dfb44f7fce0432bd7a7a28d2d23db07ce80 /src/gui/shortcutwindow.h
parent7c79aa2b8e484319e3e511fa21db6d2448347024 (diff)
downloadmanaverse-c79403e1341ac533df1771b866d1f5cee15e12b5.tar.gz
manaverse-c79403e1341ac533df1771b866d1f5cee15e12b5.tar.bz2
manaverse-c79403e1341ac533df1771b866d1f5cee15e12b5.tar.xz
manaverse-c79403e1341ac533df1771b866d1f5cee15e12b5.zip
Add const to more classes.
Diffstat (limited to 'src/gui/shortcutwindow.h')
-rw-r--r--src/gui/shortcutwindow.h9
1 files changed, 5 insertions, 4 deletions
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);