summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/popupmenu.h')
-rw-r--r--src/gui/popups/popupmenu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index d97021737..6d0c141f5 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -29,6 +29,8 @@
#include "enums/inventorytype.h"
+#include "enums/resources/servercommandtype.h"
+
#include "enums/simpletypes/beingid.h"
#include "enums/simpletypes/beingtypeid.h"
#include "enums/simpletypes/itemcolor.h"
@@ -206,6 +208,10 @@ class PopupMenu final : public Popup, public LinkHandler
private:
void initPopup();
+ bool isAllowCommand(const ServerCommandTypeT command);
+
+ bool isAllowOtherCommand(const ServerCommandTypeT command);
+
void setMousePos();
void setMousePos2();