Home
last modified time | relevance | path

Searched refs:addonMgr (Results 1 – 13 of 13) sorted by relevance

/dports/games/flightgear/flightgear-2020.3.11/src/Scripting/
H A DNasalAddons.cxx49 const auto& addonMgr = AddonManager::instance(); in getAddonMgrWithCheck() local
51 if (!addonMgr) { in getAddonMgrWithCheck()
56 return addonMgr; in getAddonMgrWithCheck()
61 const auto& addonMgr = getAddonMgrWithCheck(); in f_registeredAddons() local
62 return ctx.to_nasal(addonMgr->registeredAddons()); in f_registeredAddons()
67 const auto& addonMgr = getAddonMgrWithCheck(); in f_isAddonRegistered() local
74 const auto& addonMgr = getAddonMgrWithCheck(); in f_loadedAddons() local
75 return ctx.to_nasal(addonMgr->loadedAddons()); in f_loadedAddons()
80 const auto& addonMgr = getAddonMgrWithCheck(); in f_isAddonLoaded() local
82 return ctx.to_nasal(addonMgr->isAddonLoaded(addonId)); in f_isAddonLoaded()
[all …]
/dports/games/flightgear/flightgear-2020.3.11/src/Add-ons/
H A DAddonResourceProvider.cxx67 const auto& addonMgr = AddonManager::instance(); in resolve() local
68 SGPath addonDir = addonMgr->addonBasePath(addonId); in resolve()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/addons/
H A DService.cpp19 CServiceAddonManager::CServiceAddonManager(CAddonMgr& addonMgr) : in CServiceAddonManager() argument
20 m_addonMgr(addonMgr) in CServiceAddonManager()
H A DAddonRepos.h50 CAddonRepos(const CAddonMgr& addonMgr) : m_addonMgr(addonMgr){}; in CAddonRepos() argument
H A DService.h26 explicit CServiceAddonManager(CAddonMgr& addonMgr);
H A DRepositoryUpdater.cpp37 CRepositoryUpdater::CRepositoryUpdater(CAddonMgr& addonMgr) : in CRepositoryUpdater() argument
40 m_addonMgr(addonMgr) in CRepositoryUpdater()
H A DRepositoryUpdater.h27 explicit CRepositoryUpdater(CAddonMgr& addonMgr);
H A DAddonInstaller.cpp871 const auto& addonMgr = CServiceBroker::GetAddonMgr(); in Install() local
872 CAddonRepos addonRepos(addonMgr); in Install()
892 addonMgr.GetAddon(addonID, dependency, ADDON_UNKNOWN, OnlyEnabled::NO); in Install()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/
H A DContextMenuManager.h30 explicit CContextMenuManager(ADDON::CAddonMgr& addonMgr);
H A DContextMenuManager.cpp34 CContextMenuManager::CContextMenuManager(CAddonMgr& addonMgr) in CContextMenuManager() argument
35 : m_addonMgr(addonMgr) {} in CContextMenuManager()
H A DLangInfo.cpp684 auto& addonMgr = CServiceBroker::GetAddonMgr(); in SetLanguage() local
688 if (!addonMgr.GetAddon(language, addon, ADDON::ADDON_RESOURCE_LANGUAGE, ADDON::OnlyEnabled::YES)) in SetLanguage()
690 if (!addonMgr.IsAddonInstalled(language) || in SetLanguage()
691 (addonMgr.IsAddonDisabled(language) && !addonMgr.EnableAddon(language))) in SetLanguage()
701 if (!addonMgr.GetAddon(language, addon, ADDON::ADDON_RESOURCE_LANGUAGE, in SetLanguage()
H A DApplication.cpp4205 auto& addonMgr = CServiceBroker::GetAddonMgr(); in ConfigureAndEnableAddons() local
4207 if (addonMgr.GetDisabledAddons(disabledAddons) && !disabledAddons.empty()) in ConfigureAndEnableAddons()
4218 if (addonMgr.IsAddonDisabledWithReason(addon->ID(), ADDON::AddonDisabledReason::INCOMPATIBLE)) in ConfigureAndEnableAddons()
4220 auto addonInfo = addonMgr.GetAddonInfo(addon->ID()); in ConfigureAndEnableAddons()
4221 if (addonInfo && addonMgr.IsCompatible(addonInfo)) in ConfigureAndEnableAddons()
4225 addonMgr.EnableAddon(addon->ID()); in ConfigureAndEnableAddons()
4230 if (addonMgr.IsAddonDisabledExcept(addon->ID(), ADDON::AddonDisabledReason::NONE) || in ConfigureAndEnableAddons()
4247 addonMgr.EnableAddon(addon->ID()); in ConfigureAndEnableAddons()
4252 addonMgr.EnableAddon(addon->ID()); in ConfigureAndEnableAddons()
4258 addonMgr.UpdateDisabledReason(addon->ID(), ADDON::AddonDisabledReason::USER); in ConfigureAndEnableAddons()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/filesystem/
H A DAddonsDirectory.cpp540 const auto& addonMgr = CServiceBroker::GetAddonMgr(); in Browse() local
541 CAddonRepos addonRepos(addonMgr); in Browse()
559 const auto& addonMgr = CServiceBroker::GetAddonMgr(); in Browse() local
561 if (!addonMgr.GetAddon(repoId, repoAddon, ADDON_REPOSITORY, OnlyEnabled::YES)) in Browse()
564 CAddonRepos addonRepos(addonMgr); in Browse()