Returns the list of known plugins. This is updated by the settings app and is used to track new plugins when displaying the menu. @param p_rvPluginIds Upon return, will contain a list of plugin IDs. If the method returns false, this list is untouched. @return true if there was a list of known plugins in the settings and it was copied to p_rvPluginIds.
| 683 | // was copied to p_rvPluginIds. |
| 684 | // |
| 685 | bool Settings::GetKnownPlugins(GUIDV& p_rvPluginIds) const |
| 686 | { |
| 687 | // Perform late-revising. |
| 688 | Revise(); |
| 689 | |
| 690 | std::wstring pluginsAsString; |
| 691 | const bool hasValues = PluginUtils::ReadRegistryStringValue(m_UserKey, SETTING_KNOWN_PLUGINS, pluginsAsString) == ERROR_SUCCESS; |
| 692 | if (hasValues) { |
| 693 | p_rvPluginIds.clear(); |
| 694 | if (!pluginsAsString.empty()) { |
| 695 | p_rvPluginIds = PluginUtils::StringToPluginIds(pluginsAsString, PLUGINS_SEPARATOR); |
| 696 | } |
| 697 | } |
| 698 | return hasValues; |
| 699 | } |
| 700 | |
| 701 | // |
| 702 | // Checks if we need to perform a software update check according to the last time we did. |
no test coverage detected