annotate command.h @ 26273:8c92e7e4ccd9

command.h: Remove unnecessary includes Remove #include of "mp_core.h" and "input/input.h". Their only use was that functions declared in command.h took pointers to structs defined in those headers. Declare the structs directly as incomplete types instead.
author uau
date Mon, 31 Mar 2008 04:10:54 +0000
parents 83c95bd31aab
children c1a3f1bbba26
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
1 #ifndef MPLAYER_COMMAND_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
2 #define MPLAYER_COMMAND_H
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 23397
diff changeset
3
26273
8c92e7e4ccd9 command.h: Remove unnecessary includes
uau
parents: 26131
diff changeset
4 struct MPContext;
8c92e7e4ccd9 command.h: Remove unnecessary includes
uau
parents: 26131
diff changeset
5 struct mp_cmd;
26131
83c95bd31aab Add necessary #includes to pass 'make checkheaders'.
diego
parents: 26029
diff changeset
6
26273
8c92e7e4ccd9 command.h: Remove unnecessary includes
uau
parents: 26131
diff changeset
7 int run_command(struct MPContext *mpctx, struct mp_cmd *cmd);
23397
1d807885ce7b Make command.h usable without the MPContext typedef.
albeu
parents: 22280
diff changeset
8 char *property_expand_string(struct MPContext *mpctx, char *str);
22280
a5e5b0c45c03 Split command/property handling from mplayer.c to a new file command.c.
uau
parents:
diff changeset
9 void property_print_help(void);
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 23397
diff changeset
10
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
11 #endif /* MPLAYER_COMMAND_H */