// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "../TerminalSettingsModel/AllShortcutActions.h" #define ACTION_EVENT(name) event Windows.Foundation.TypedEventHandler name namespace TerminalApp { [default_interface] runtimeclass ShortcutActionDispatch { ShortcutActionDispatch(); Boolean DoAction(Microsoft.Terminal.Settings.Model.ActionAndArgs actionAndArgs); // When adding a new action, add them to AllShortcutActions.h! #define ON_ALL_ACTIONS(action) ACTION_EVENT(action); ALL_SHORTCUT_ACTIONS #undef ON_ALL_ACTIONS } }