diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2022-04-25 04:24:52 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2022-04-25 04:24:52 +0100 |
commit | 117f3ad6ae3fb6df54bc553bd1efbab080d39606 (patch) | |
tree | 4afff34653060dd8a15110a10ac4055451f0e448 /src/nosleep.h | |
parent | 9d1fea271bd823b6dc98feb61992bbe64b95a188 (diff) |
Add engine_no_focus_sleep backport, fix codegen
Default gamedata values actually work the way they're supposed to now.
Diffstat (limited to 'src/nosleep.h')
-rw-r--r-- | src/nosleep.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/nosleep.h b/src/nosleep.h new file mode 100644 index 0000000..4d5237f --- /dev/null +++ b/src/nosleep.h @@ -0,0 +1,27 @@ +/* + * Copyright © 2022 Michael Smith <mikesmiffy128@gmail.com> + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef INC_NOSLEEP_H +#define INC_NOSLEEP_H + +#include <stdbool.h> + +bool nosleep_init(void); +void nosleep_end(void); + +#endif + +// vi: sw=4 ts=4 noet tw=80 cc=80 |