diff options
author | Tim Ledbetter <timledbetter@gmail.com> | 2023-01-20 21:58:37 +0000 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-02-11 19:32:24 +0000 |
commit | d910dd345e090012db3dcc1f02ab140432c334b8 (patch) | |
tree | 86afd13673b192d06b6df5536ddb74011fed9c90 /Userland/Applications/Assistant/Providers.h | |
parent | 3b446fba34189b2b989a59e8caea6701930609db (diff) | |
download | serenity-d910dd345e090012db3dcc1f02ab140432c334b8.zip |
Assistant: Allow arguments in AppProvider queries
Diffstat (limited to 'Userland/Applications/Assistant/Providers.h')
-rw-r--r-- | Userland/Applications/Assistant/Providers.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Applications/Assistant/Providers.h b/Userland/Applications/Assistant/Providers.h index 4e44d4169b..3444a5e801 100644 --- a/Userland/Applications/Assistant/Providers.h +++ b/Userland/Applications/Assistant/Providers.h @@ -52,9 +52,10 @@ private: class AppResult final : public Result { public: - AppResult(RefPtr<Gfx::Bitmap> bitmap, DeprecatedString title, DeprecatedString tooltip, NonnullRefPtr<Desktop::AppFile> af, int score) + AppResult(RefPtr<Gfx::Bitmap> bitmap, DeprecatedString title, DeprecatedString tooltip, NonnullRefPtr<Desktop::AppFile> af, DeprecatedString arguments, int score) : Result(move(title), move(tooltip), score) , m_app_file(move(af)) + , m_arguments(move(arguments)) , m_bitmap(move(bitmap)) { } @@ -65,6 +66,7 @@ public: private: NonnullRefPtr<Desktop::AppFile> m_app_file; + DeprecatedString m_arguments; RefPtr<Gfx::Bitmap> m_bitmap; }; |