summaryrefslogtreecommitdiffstats
path: root/command.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-09-21 12:19:59 +0200
committerwm4 <wm4@nowhere>2012-10-12 10:10:31 +0200
commited8e738e0f7da90597732965fe4e8cd1feb9099a (patch)
tree0665723e3a5db809b188d4e34f275ec0d9fc3df5 /command.h
parentd6dad9e93431f8ec3ad7999d0bac3a585b47866c (diff)
downloadmpv-ed8e738e0f7da90597732965fe4e8cd1feb9099a.tar.bz2
mpv-ed8e738e0f7da90597732965fe4e8cd1feb9099a.tar.xz
commands: cosmetic changes mostly to m_property.h
The Doxygen-style documentation comments were nothing but bloat. Also move mp_property_do() and mp_property_print() to command.h, where they should belong, and fix their argument types. m_property.c/h is supposed to be generic, while command.h provides declarations specific to the mplayer core.
Diffstat (limited to 'command.h')
-rw-r--r--command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/command.h b/command.h
index 1367fa88e4..df419c8e02 100644
--- a/command.h
+++ b/command.h
@@ -25,5 +25,8 @@ struct mp_cmd;
void run_command(struct MPContext *mpctx, struct mp_cmd *cmd);
char *property_expand_string(struct MPContext *mpctx, char *str);
void property_print_help(void);
+int mp_property_do(const char* name, int action, void* val,
+ struct MPContext *mpctx);
+char* mp_property_print(const char *name, struct MPContext *mpctx);
#endif /* MPLAYER_COMMAND_H */