summaryrefslogtreecommitdiff
path: root/src/gui/itemamountwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/itemamountwindow.h')
-rw-r--r--src/gui/itemamountwindow.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/itemamountwindow.h b/src/gui/itemamountwindow.h
index 0e692dac2..c06d9a618 100644
--- a/src/gui/itemamountwindow.h
+++ b/src/gui/itemamountwindow.h
@@ -86,16 +86,17 @@ class ItemAmountWindow : public Window,
/**
* Creates the dialog, or bypass it if there aren't enough items.
*/
- static void showWindow(Usage usage, Window *parent, Item *item,
- int maxRange = 0);
+ static void showWindow(const Usage usage, Window *const parent,
+ Item *const item, int maxRange = 0);
~ItemAmountWindow();
private:
- static void finish(Item *item, int amount, int price, Usage usage);
+ static void finish(Item *const item, const int amount,
+ const int price, const Usage usage);
- ItemAmountWindow(Usage usage, Window *parent, Item *item,
- int maxRange = 0);
+ ItemAmountWindow(const Usage usage, Window *const parent,
+ Item *const item, const int maxRange = 0);
IntTextField *mItemAmountTextField; /**< Item amount caption. */
IntTextField *mItemPriceTextField; /**< Item price caption. */