slouken@3000
|
1 |
/*
|
slouken@3000
|
2 |
SDL - Simple DirectMedia Layer
|
slouken@3697
|
3 |
Copyright (C) 1997-2010 Sam Lantinga
|
slouken@3000
|
4 |
|
slouken@3000
|
5 |
This library is free software; you can redistribute it and/or
|
slouken@3000
|
6 |
modify it under the terms of the GNU Lesser General Public
|
slouken@3000
|
7 |
License as published by the Free Software Foundation; either
|
slouken@3000
|
8 |
version 2.1 of the License, or (at your option) any later version.
|
slouken@3000
|
9 |
|
slouken@3000
|
10 |
This library is distributed in the hope that it will be useful,
|
slouken@3000
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
slouken@3000
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
slouken@3000
|
13 |
Lesser General Public License for more details.
|
slouken@3000
|
14 |
|
slouken@3000
|
15 |
You should have received a copy of the GNU Lesser General Public
|
slouken@3000
|
16 |
License along with this library; if not, write to the Free Software
|
slouken@3000
|
17 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
slouken@3000
|
18 |
|
slouken@3000
|
19 |
Sam Lantinga
|
slouken@3000
|
20 |
slouken@libsdl.org
|
slouken@5199
|
21 |
|
slouken@5199
|
22 |
SDL1.3 DirectFB driver by couriersud@arcor.de
|
slouken@5199
|
23 |
|
slouken@3000
|
24 |
*/
|
slouken@3000
|
25 |
|
slouken@3000
|
26 |
#ifndef _SDL_DirectFB_dyn_h
|
slouken@3000
|
27 |
#define _SDL_DirectFB_dyn_h
|
slouken@3000
|
28 |
|
slouken@3000
|
29 |
#define DFB_SYMS \
|
slouken@3000
|
30 |
DFB_SYM(DFBResult, DirectFBError, (const char *msg, DFBResult result), (msg, result), return) \
|
slouken@3000
|
31 |
DFB_SYM(DFBResult, DirectFBErrorFatal, (const char *msg, DFBResult result), (msg, result), return) \
|
slouken@3000
|
32 |
DFB_SYM(const char *, DirectFBErrorString, (DFBResult result), (result), return) \
|
slouken@3000
|
33 |
DFB_SYM(const char *, DirectFBUsageString, ( void ), (), return) \
|
slouken@3000
|
34 |
DFB_SYM(DFBResult, DirectFBInit, (int *argc, char *(*argv[]) ), (argc, argv), return) \
|
slouken@3000
|
35 |
DFB_SYM(DFBResult, DirectFBSetOption, (const char *name, const char *value), (name, value), return) \
|
couriersud@3023
|
36 |
DFB_SYM(DFBResult, DirectFBCreate, (IDirectFB **interface), (interface), return) \
|
couriersud@3023
|
37 |
DFB_SYM(const char *, DirectFBCheckVersion, (unsigned int required_major, unsigned int required_minor, unsigned int required_micro), \
|
couriersud@3023
|
38 |
(required_major, required_minor, required_micro), return)
|
slouken@3000
|
39 |
|
slouken@3000
|
40 |
int SDL_DirectFB_LoadLibrary(void);
|
slouken@3000
|
41 |
void SDL_DirectFB_UnLoadLibrary(void);
|
slouken@3000
|
42 |
|
slouken@3000
|
43 |
#endif
|