summaryrefslogtreecommitdiffstats
path: root/src/gui/ObjectMenu.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/ObjectMenu.hpp')
-rw-r--r--src/gui/ObjectMenu.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/ObjectMenu.hpp b/src/gui/ObjectMenu.hpp
index fc63c7a8..d3ed647e 100644
--- a/src/gui/ObjectMenu.hpp
+++ b/src/gui/ObjectMenu.hpp
@@ -44,6 +44,9 @@ public:
void init(App& app, SPtr<const Client::ObjectModel> object);
+ SPtr<const Client::ObjectModel> object() const { return _object; }
+ App* app() const { return _app; }
+
protected:
void on_menu_learn();
void on_menu_unlearn();