aboutsummaryrefslogtreecommitdiff
path: root/src/browser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/browser.h')
-rw-r--r--src/browser.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/browser.h b/src/browser.h
index f58dce7..cc4cbb8 100644
--- a/src/browser.h
+++ b/src/browser.h
@@ -37,7 +37,15 @@ public:
void setConfiguration(std::shared_ptr<Configuration> &config);
- std::shared_ptr<WebEngineProfile> profile(const QString storageName);
+ std::shared_ptr<WebEngineProfile> profile(const QString &storageName);
+
+ const QList<QString> profiles() const {
+ return m_profiles.keys();
+ }
+
+ const QVector<Plugin> plugins() const {
+ return m_plugins;
+ }
public slots:
MainWindow *createSession(const QString &profileName, bool newWindow, const QStringList &urls);