852ee1c3 |
1 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
2 | * Mupen64plus - main.h * |
3 | * Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ * |
4 | * Copyright (C) 2008-2012 Tillin9, Richard42 * |
5 | * * |
6 | * This program is free software; you can redistribute it and/or modify * |
7 | * it under the terms of the GNU General Public License as published by * |
8 | * the Free Software Foundation; either version 2 of the License, or * |
9 | * (at your option) any later version. * |
10 | * * |
11 | * This program is distributed in the hope that it will be useful, * |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
14 | * GNU General Public License for more details. * |
15 | * * |
16 | * You should have received a copy of the GNU General Public License * |
17 | * along with this program; if not, write to the * |
18 | * Free Software Foundation, Inc., * |
19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * |
20 | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ |
21 | |
22 | /* version info */ |
23 | #define SDL_AUDIO_PLUGIN_VERSION 0x020000 |
24 | #define AUDIO_PLUGIN_API_VERSION 0x020000 |
25 | #define CONFIG_API_VERSION 0x020100 |
26 | #define CONFIG_PARAM_VERSION 1.00 |
27 | |
28 | #define VERSION_PRINTF_SPLIT(x) (((x) >> 16) & 0xffff), (((x) >> 8) & 0xff), ((x) & 0xff) |
29 | |
30 | /* declarations of pointers to Core config functions */ |
31 | extern ptr_ConfigListSections ConfigListSections; |
32 | extern ptr_ConfigOpenSection ConfigOpenSection; |
33 | extern ptr_ConfigDeleteSection ConfigDeleteSection; |
34 | extern ptr_ConfigSaveSection ConfigSaveSection; |
35 | extern ptr_ConfigListParameters ConfigListParameters; |
36 | extern ptr_ConfigSaveFile ConfigSaveFile; |
37 | extern ptr_ConfigSetParameter ConfigSetParameter; |
38 | extern ptr_ConfigGetParameter ConfigGetParameter; |
39 | extern ptr_ConfigGetParameterHelp ConfigGetParameterHelp; |
40 | extern ptr_ConfigSetDefaultInt ConfigSetDefaultInt; |
41 | extern ptr_ConfigSetDefaultFloat ConfigSetDefaultFloat; |
42 | extern ptr_ConfigSetDefaultBool ConfigSetDefaultBool; |
43 | extern ptr_ConfigSetDefaultString ConfigSetDefaultString; |
44 | extern ptr_ConfigGetParamInt ConfigGetParamInt; |
45 | extern ptr_ConfigGetParamFloat ConfigGetParamFloat; |
46 | extern ptr_ConfigGetParamBool ConfigGetParamBool; |
47 | extern ptr_ConfigGetParamString ConfigGetParamString; |
48 | |