annotate dvdread/cmd_print.h @ 25825:4c17a62383a4

automatically set spu button highlight when nav cell has changed
author ben
date Sat, 26 Jan 2008 12:54:14 +0000
parents fe3043a8552c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24048
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
1 /* -*- c-basic-offset: 2; indent-tabs-mode: nil -*- */
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
2 #ifndef CMD_PRINT_H_INCLUDED
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
3 #define CMD_PRINT_H_INCLUDED
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
4
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
5 /*
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
6 * Copyright (C) 2000, 2001, 2002, 2003 Martin Norbäck, Håkan Hjort
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
7 *
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
8 * This program is free software; you can redistribute it and/or modify
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
9 * it under the terms of the GNU General Public License as published by
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
11 * (at your option) any later version.
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
12 *
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
13 * This program is distributed in the hope that it will be useful,
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
16 * GNU General Public License for more details.
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
17 *
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
18 * You should have received a copy of the GNU General Public License
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
19 * along with this program; if not, write to the Free Software
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
21 */
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
22
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
23 #include <dvdread/ifo_types.h>
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
24
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
25 /**
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
26 * Pretty printing of the DVD commands (vm instructions).
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
27 */
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
28
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
29 #ifdef __cplusplus
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
30 extern "C" {
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
31 #endif
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
32
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
33 /**
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
34 * Prints a text representation of the commands to stdout.
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
35 *
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
36 * @param command Pointer to the DVD command to be printed.
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
37 */
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
38 void cmdPrint_mnemonic(vm_cmd_t *command);
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
39
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
40 /**
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
41 * Prints row, then a hex dump of the command followed by the text
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
42 * representation of the commands, as given by cmdPrint_mnemonic to
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
43 * stdout.
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
44 *
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
45 * @param command Pointer to the DVD command to be printed. */
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
46 void cmdPrint_CMD(int row, vm_cmd_t *command);
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
47
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
48 #ifdef __cplusplus
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
49 };
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
50 #endif
fe3043a8552c 1000l: Forgot to add new files, *sigh*.
diego
parents:
diff changeset
51 #endif /* CMD_PRINT_H_INCLUDED */