mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:27:35 +00:00
Assistant: Allow arguments in AppProvider queries
This commit is contained in:
parent
3b446fba34
commit
d910dd345e
2 changed files with 10 additions and 4 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue