diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2020-08-25 01:06:11 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-25 09:46:28 +0200 |
commit | 5568da9a59df8d2f68849345338f9263ae0cbae0 (patch) | |
tree | 75421c0bee9b7e4fb4871bf66e25b7cb14337ed9 /Libraries/LibGUI/Action.h | |
parent | fdf06600643a7bce1f00182ef7fe31310ea4e6b2 (diff) | |
download | serenity-5568da9a59df8d2f68849345338f9263ae0cbae0.zip |
LibGUI: Add a save_as common action
Diffstat (limited to 'Libraries/LibGUI/Action.h')
-rw-r--r-- | Libraries/LibGUI/Action.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/Action.h b/Libraries/LibGUI/Action.h index 332e45647e..44bb3ec223 100644 --- a/Libraries/LibGUI/Action.h +++ b/Libraries/LibGUI/Action.h @@ -44,6 +44,7 @@ namespace GUI { namespace CommonActions { NonnullRefPtr<Action> make_open_action(Function<void(Action&)>, Core::Object* parent = nullptr); NonnullRefPtr<Action> make_save_action(Function<void(Action&)>, Core::Object* parent = nullptr); +NonnullRefPtr<Action> make_save_as_action(Function<void(Action&)>, Core::Object* parent = nullptr); NonnullRefPtr<Action> make_undo_action(Function<void(Action&)>, Core::Object* parent = nullptr); NonnullRefPtr<Action> make_redo_action(Function<void(Action&)>, Core::Object* parent = nullptr); NonnullRefPtr<Action> make_cut_action(Function<void(Action&)>, Core::Object* parent = nullptr); |