diff options
author | 2016-04-01 17:42:20 +0000 | |
---|---|---|
committer | 2016-04-03 07:02:38 +0000 | |
commit | ca3e65e35f41d5b05a0c8f3f2d1b2771385023c8 (patch) | |
tree | d95394e533954f0bf4402651ea5a6a975f266e9a /src/lib/util/options.h | |
parent | 2bd758d393f11d8913b336794e0b25649f2cef2c (diff) |
refactor miscmenu and add adv menu (nw)
Diffstat (limited to 'src/lib/util/options.h')
-rw-r--r-- | src/lib/util/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/util/options.h b/src/lib/util/options.h index 9af9c61233e..a6c003162fd 100644 --- a/src/lib/util/options.h +++ b/src/lib/util/options.h @@ -131,6 +131,7 @@ public: // getters entry *first() const { return m_entrylist.first(); } const char *command() const { return m_command.c_str(); } + entry *get_entry(const char *option) { return (m_entrymap.find(option) != m_entrymap.end()) ? m_entrymap.find(option)->second : nullptr; } // range iterators using auto_iterator = simple_list<entry>::auto_iterator; |