summaryrefslogtreecommitdiff
path: root/src/gui/windows/buyingstoreselldialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 14:30:20 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 14:30:20 +0300
commit0f9ec2061c4ad6157c3186f1cab9c4d8558980b5 (patch)
tree6259593b8436178ad8d981a96a8fd71eab9e04cc /src/gui/windows/buyingstoreselldialog.h
parent01773c71a4698c6f01fe70d864f922bda65506cb (diff)
downloadmv-0f9ec2061c4ad6157c3186f1cab9c4d8558980b5.tar.gz
mv-0f9ec2061c4ad6157c3186f1cab9c4d8558980b5.tar.bz2
mv-0f9ec2061c4ad6157c3186f1cab9c4d8558980b5.tar.xz
mv-0f9ec2061c4ad6157c3186f1cab9c4d8558980b5.zip
Add strong typed int type BeingId.
Diffstat (limited to 'src/gui/windows/buyingstoreselldialog.h')
-rw-r--r--src/gui/windows/buyingstoreselldialog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/buyingstoreselldialog.h b/src/gui/windows/buyingstoreselldialog.h
index 9fb40cba0..ce5c404e4 100644
--- a/src/gui/windows/buyingstoreselldialog.h
+++ b/src/gui/windows/buyingstoreselldialog.h
@@ -25,6 +25,8 @@
#ifdef EATHENA_SUPPORT
+#include "enums/simpletypes/beingid.h"
+
#include "gui/widgets/selldialog.h"
class Being;
@@ -42,7 +44,7 @@ class BuyingStoreSellDialog final : public SellDialog
*
* @see Window::Window
*/
- BuyingStoreSellDialog(const int accountId,
+ BuyingStoreSellDialog(const BeingId accountId,
const int storeId);
A_DELETE_COPY(BuyingStoreSellDialog)
@@ -50,7 +52,7 @@ class BuyingStoreSellDialog final : public SellDialog
protected:
void sellAction(const ActionEvent &event) override final;
- int mAccountId;
+ BeingId mAccountId;
int mStoreId;
};