mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
views: Allow to know the currently selected entry
This commit is contained in:
parent
8c9f6943c3
commit
e0b1142387
@ -1851,6 +1851,8 @@ public:
|
||||
void select(int entry);
|
||||
void disable();
|
||||
|
||||
std::optional<int> entry() const { return m_cur_id == -1 ? std::optional<int>() : m_cur_slot; }
|
||||
|
||||
const std::string &name() const { return m_name; }
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user