From 9d004e3d18312bea2259bc30064999f9f2db14a6 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 22 Jun 2018 16:15:31 +0200 Subject: Plugin commands no longer require --command --- src/browser.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/browser.h') diff --git a/src/browser.h b/src/browser.h index 7163c8f..821583a 100644 --- a/src/browser.h +++ b/src/browser.h @@ -38,6 +38,8 @@ public slots: public: void setConfiguration(std::shared_ptr &config); + void registerPlugin(const Plugin &plugin); + void setup(const QString &defaultProfile); std::shared_ptr bookmarks() @@ -51,17 +53,6 @@ public: return m_profiles.keys(); } - int command(const QString &command); - const QStringList commands() const - { - return m_commands.keys(); - } - - const QVector plugins() const - { - return m_plugins; - } - signals: void registerProfile(WebProfile *profile); @@ -78,7 +69,6 @@ private: QMap m_profiles; QVector m_windows; QVector m_plugins; - QHash> m_commands; }; #endif // SMOLBOTE_BROWSER_H -- cgit v1.2.1