From 05edcf8840b1930206100d5cb73f9f4b76e07995 Mon Sep 17 00:00:00 2001 From: Tannin Date: Mon, 31 Aug 2015 21:24:48 +0200 Subject: code cleanup --- src/executableslist.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/executableslist.h') diff --git a/src/executableslist.h b/src/executableslist.h index 37e903e5..b4054bcc 100644 --- a/src/executableslist.h +++ b/src/executableslist.h @@ -53,7 +53,7 @@ struct Executable { bool isCustom() const { return m_Flags.testFlag(CustomExecutable); } - bool shownOnToolbar() const { return m_Flags.testFlag(ShowInToolbar); } + bool isShownOnToolbar() const { return m_Flags.testFlag(ShowInToolbar); } void showOnToolbar(bool state); @@ -80,15 +80,6 @@ public: **/ void init(MOBase::IPluginGame *game); - /** - * @brief retrieve an executable by index - * - * @param index index of the executable to look up - * @return reference to the executable - * @exception out_of_range will throw an exception if the index is invalid - **/ - const Executable &get(int index) const { return m_Executables.at(index); } - /** * @brief find an executable by its name * -- cgit v1.3.1