37 std::chrono::system_clock::duration
mTimeout{};
47 void Run(std::chrono::seconds timeout = std::chrono::seconds(30));
Used to talk back to calling side.
size_t mCurrentPluginProviderIndex
void OnInternalError(const wxString &error) override
Called on error, further processing is not possible.
void Run(std::chrono::seconds timeout=std::chrono::seconds(30))
size_t mCurrentPluginIndex
std::unique_ptr< AsyncPluginValidator > mValidator
void OnValidationFinished() override
Called when module processing finished.
std::vector< PluginDescriptor > mFailedPluginsCache
wxWeakRef< wxDialogWrapper > mScanDialog
void OnPluginFound(const PluginDescriptor &desc) override
Called for each plugin instance found inside module.
wxWeakRef< wxTimer > mTimeoutTimer
std::chrono::system_clock::time_point mRequestStartTime
void StopWithError(const wxString &msg)
std::vector< wxString > mFailedPluginsPaths
void OnPluginValidationFailed(const wxString &providerId, const wxString &path) override
const std::vector< wxString > & GetFailedPluginsPaths() const noexcept
Returns list of paths of plugins that didn't pass validation for some reason.
std::vector< std::pair< wxString, std::vector< wxString > > > mPluginsToProcess
PluginStartupRegistration(const std::map< wxString, std::vector< wxString > > &pluginsToProcess)
std::chrono::system_clock::duration mTimeout
const TranslatableString desc