diff options
author | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-21 00:49:24 +0000 |
---|---|---|
committer | uau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-21 00:49:24 +0000 |
commit | d5d4c6c7e224709c53d28352ce6aadc3c6e72374 (patch) | |
tree | 9fe98ae571ad6bda5cf04273cefabd6ffcbf92ae /command.h | |
parent | e23b2395c0265c0a0bd92c0468e20e8ce42793e6 (diff) | |
download | mpv-d5d4c6c7e224709c53d28352ce6aadc3c6e72374.tar.bz2 mpv-d5d4c6c7e224709c53d28352ce6aadc3c6e72374.tar.xz |
Split command/property handling from mplayer.c to a new file command.c.
Move some global and static variables under a struct that can be given
as a parameter. Add a context argument to the property functions so that
they do not have to depend on global/static variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22298 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'command.h')
-rw-r--r-- | command.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/command.h b/command.h new file mode 100644 index 0000000000..a383a1aad3 --- /dev/null +++ b/command.h @@ -0,0 +1,3 @@ +int run_command(MPContext *mpctx, mp_cmd_t *cmd); +char *property_expand_string(MPContext *mpctx, char *str); +void property_print_help(void); |