author | Edward Rudd <urkle@outoforder.cc> |
Wed, 26 Sep 2012 14:08:46 -0400 | |
changeset 6462 | 5e09ac1aba80 |
parent 6138 | 4c64952a58fb |
child 6885 | 700f1b25f77f |
permissions | -rwxr-xr-x |
5556
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
1 |
/* |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
2 |
Simple DirectMedia Layer |
6138 | 3 |
Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org> |
5556
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
4 |
|
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
5 |
This software is provided 'as-is', without any express or implied |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
6 |
warranty. In no event will the authors be held liable for any damages |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
7 |
arising from the use of this software. |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
8 |
|
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
9 |
Permission is granted to anyone to use this software for any purpose, |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
10 |
including commercial applications, and to alter it and redistribute it |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
11 |
freely, subject to the following restrictions: |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
12 |
|
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
13 |
1. The origin of this software must not be misrepresented; you must not |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
14 |
claim that you wrote the original software. If you use this software |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
15 |
in a product, an acknowledgment in the product documentation would be |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
16 |
appreciated but is not required. |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
17 |
2. Altered source versions must be plainly marked as such, and must not be |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
18 |
misrepresented as being the original software. |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
19 |
3. This notice may not be removed or altered from any source distribution. |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
20 |
*/ |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
21 |
|
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
22 |
#ifndef _SDL_hints_c_h |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
23 |
#define _SDL_hints_c_h |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
24 |
|
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
25 |
/** |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
26 |
* \brief A callback function that is optionally called when a hint changes |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
27 |
*/ |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
28 |
typedef void (*SDL_HintChangedCb)(const char *name, const char *oldValue, const char *newValue); |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
29 |
|
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
30 |
extern SDL_bool SDL_RegisterHintChangedCb(const char *name, SDL_HintChangedCb hintCb); |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
31 |
|
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
32 |
#endif /* _SDL_hints_c_h */ |
45a709ef443d
* Add missing file SDL_hints_c.h
Tim Angus <tim@blackcompanystudios.co.uk>
parents:
diff
changeset
|
33 |
|
5878
bc68122afbed
Added a newline to the end of a file to quiet old versions of GCC.
Ryan C. Gordon <icculus@icculus.org>
parents:
5556
diff
changeset
|
34 |
/* vi: set ts=4 sw=4 expandtab: */ |