Mercurial > libdvdnav.hg
annotate vm/vmcmd.h @ 420:d7720a050e67 src
Restore C++ compatibility by renaming the parameter to 'self' like in
the other functions.
Revision 1208 ("Add dvdnav_program_play & dvdnav_current_title_program")
added dvdnav_program_play function to dvdnav.h. However, unlike the
other API functions, its first parameter is named 'this' instead of
'self'. 'this' is a C++ keyword and prevents compilation of C++ projects
using libdvdnav.
Patch by Anssi Hannula \anssi.hannula%iki.fi/
author | rathann |
---|---|
date | Sun, 09 Dec 2012 21:39:37 +0000 |
parents | 0a5a6f03b029 |
children |
rev | line source |
---|---|
225 | 1 /* |
390 | 2 * Copyright (C) 2000, 2001 Martin Norbäck, Håkan Hjort |
388 | 3 * |
225 | 4 * This file is part of libdvdnav, a DVD navigation library. It is modified |
5 * from a file originally part of the Ogle DVD player. | |
388 | 6 * |
225 | 7 * libdvdnav is free software; you can redistribute it and/or modify |
8 * it under the terms of the GNU General Public License as published by | |
9 * the Free Software Foundation; either version 2 of the License, or | |
10 * (at your option) any later version. | |
388 | 11 * |
225 | 12 * libdvdnav is distributed in the hope that it will be useful, |
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 * GNU General Public License for more details. | |
388 | 16 * |
389
d3c273ced49c
Use consistent license headers everywhere: Fix wrong FSF address.
diego
parents:
388
diff
changeset
|
17 * You should have received a copy of the GNU General Public License along |
d3c273ced49c
Use consistent license headers everywhere: Fix wrong FSF address.
diego
parents:
388
diff
changeset
|
18 * with libdvdnav; if not, write to the Free Software Foundation, Inc., |
d3c273ced49c
Use consistent license headers everywhere: Fix wrong FSF address.
diego
parents:
388
diff
changeset
|
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
225 | 20 */ |
21 | |
391 | 22 #ifndef LIBDVDNAV_VMCMD_H |
23 #define LIBDVDNAV_VMCMD_H | |
225 | 24 |
25 void vm_print_mnemonic(vm_cmd_t *command); | |
26 void vm_print_cmd(int row, vm_cmd_t *command); | |
27 | |
391 | 28 #endif /* LIBDVDNAV_VMCMD_H */ |