diff options
Diffstat (limited to 'src/browser.h')
-rw-r--r-- | src/browser.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/browser.h b/src/browser.h index d4117ba..ec6bb57 100644 --- a/src/browser.h +++ b/src/browser.h @@ -40,10 +40,10 @@ public: // interface [[deprecated]] const QList<QPair<QString, Profile *>> profileList() const; void loadProfiles(const QStringList &profilePaths); - - QPluginLoader *addPlugin(const QString &path = QString()); - - void setup(QVector<QPluginLoader *> plugins); + void loadPlugins( + const QStringList &paths, + const std::function<void(const QPluginLoader *)> &callback = [](const auto) {}); + void setup(); const QVector<MainWindow *> windows() const { |