diff options
Diffstat (limited to 'Userland/Services/Taskbar/QuickLaunchWidget.h')
-rw-r--r-- | Userland/Services/Taskbar/QuickLaunchWidget.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Userland/Services/Taskbar/QuickLaunchWidget.h b/Userland/Services/Taskbar/QuickLaunchWidget.h index fccecf88d9..c2da52b131 100644 --- a/Userland/Services/Taskbar/QuickLaunchWidget.h +++ b/Userland/Services/Taskbar/QuickLaunchWidget.h @@ -39,6 +39,21 @@ private: NonnullRefPtr<Desktop::AppFile> m_app_file; }; +class QuickLaunchEntryExecutable : public QuickLaunchEntry { +public: + explicit QuickLaunchEntryExecutable(String path) + : m_path(move(path)) + { + } + + virtual ErrorOr<void> launch() const override; + virtual GUI::Icon icon() const override; + virtual String name() const override; + +private: + String m_path; +}; + class QuickLaunchWidget : public GUI::Frame , public Config::Listener { C_OBJECT(QuickLaunchWidget); |