diff options
| author | Tannin <devnull@localhost> | 2015-08-31 21:24:48 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-08-31 21:24:48 +0200 |
| commit | 05edcf8840b1930206100d5cb73f9f4b76e07995 (patch) | |
| tree | 631be4ee734b005fcfca1813303f13fabb3af132 /src/executableslist.h | |
| parent | 2a22461f14e0b52a9044917581a666318a197113 (diff) | |
code cleanup
Diffstat (limited to 'src/executableslist.h')
| -rw-r--r-- | src/executableslist.h | 11 |
1 files changed, 1 insertions, 10 deletions
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);
@@ -81,15 +81,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
*
* @param title the title of the executable to look up
|
