History

command: add an apply-profile command

This will actually update all associated options (which is trivial now with the recent changes).

wm4 committed 10 years ago

Commit cb604d51 parent a3e8ff64 files · +20 −0Browse files

Showing the changes to input (2 of 4 files). Show all

Unified · Split

2 files
  1. input/cmd_list.c +2 −0
  2. input/cmd_list.h +2 −0
input/cmd_list.c+2−0
@@ -224,6 +224,8 @@ const struct mp_cmd_def mp_cmds[] = { · 223 unmodified lines
224 {"reselect", 1})),224 {"reselect", 1})),
225 }},225 }},
226 226
227 { MP_CMD_APPLY_PROFILE, "apply-profile", {ARG_STRING } },
228
227 {0}229 {0}
228};230};
229 231
input/cmd_list.h+2−0
@@ -114,6 +114,8 @@ enum mp_command_type { · 113 unmodified lines
114 114
115 MP_CMD_RESCAN_EXTERNAL_FILES,115 MP_CMD_RESCAN_EXTERNAL_FILES,
116 116
117 MP_CMD_APPLY_PROFILE,
118
117 // Internal119 // Internal
118 MP_CMD_COMMAND_LIST, // list of sub-commands in args[0].v.p120 MP_CMD_COMMAND_LIST, // list of sub-commands in args[0].v.p
119};121};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t