Same change to classes under platform.

This commit is contained in:
Relintai 2022-03-17 22:38:14 +01:00
parent 1bc3c2594c
commit 9fd8fc6eed
51 changed files with 204 additions and 102 deletions

View File

@ -1,3 +1,5 @@
#ifndef ANDROID_INPUT_HANDLER_H
#define ANDROID_INPUT_HANDLER_H
/*************************************************************************/ /*************************************************************************/
/* android_input_handler.h */ /* android_input_handler.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef ANDROID_INPUT_HANDLER_H
#define ANDROID_INPUT_HANDLER_H
#include "main/input_default.h" #include "main/input_default.h"

View File

@ -1,3 +1,5 @@
#ifndef ANDROID_KEYS_UTILS_H
#define ANDROID_KEYS_UTILS_H
/*************************************************************************/ /*************************************************************************/
/* android_keys_utils.h */ /* android_keys_utils.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef ANDROID_KEYS_UTILS_H
#define ANDROID_KEYS_UTILS_H
#include <android/input.h> #include <android/input.h>
#include <core/os/keyboard.h> #include <core/os/keyboard.h>

View File

@ -1,3 +1,5 @@
#ifndef ANDROID_API_H
#define ANDROID_API_H
/*************************************************************************/ /*************************************************************************/
/* api.h */ /* api.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef ANDROID_API_H
#define ANDROID_API_H
void register_android_api(); void register_android_api();
void unregister_android_api(); void unregister_android_api();

View File

@ -1,3 +1,5 @@
#ifndef JAVA_CLASS_WRAPPER_H
#define JAVA_CLASS_WRAPPER_H
/*************************************************************************/ /*************************************************************************/
/* java_class_wrapper.h */ /* java_class_wrapper.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JAVA_CLASS_WRAPPER_H
#define JAVA_CLASS_WRAPPER_H
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef JNI_SINGLETON_H
#define JNI_SINGLETON_H
/*************************************************************************/ /*************************************************************************/
/* jni_singleton.h */ /* jni_singleton.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JNI_SINGLETON_H
#define JNI_SINGLETON_H
#include <core/engine.h> #include <core/engine.h>
#include <core/variant.h> #include <core/variant.h>

View File

@ -1,3 +1,5 @@
#ifndef AUDIO_DRIVER_OPENSL_H
#define AUDIO_DRIVER_OPENSL_H
/*************************************************************************/ /*************************************************************************/
/* audio_driver_opensl.h */ /* audio_driver_opensl.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef AUDIO_DRIVER_OPENSL_H
#define AUDIO_DRIVER_OPENSL_H
#include "core/os/mutex.h" #include "core/os/mutex.h"
#include "servers/audio_server.h" #include "servers/audio_server.h"

View File

@ -1,3 +1,5 @@
#ifndef DIR_ACCESS_JANDROID_H
#define DIR_ACCESS_JANDROID_H
/*************************************************************************/ /*************************************************************************/
/* dir_access_jandroid.h */ /* dir_access_jandroid.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef DIR_ACCESS_JANDROID_H
#define DIR_ACCESS_JANDROID_H
#include "core/os/dir_access.h" #include "core/os/dir_access.h"
#include "java_godot_lib_jni.h" #include "java_godot_lib_jni.h"

View File

@ -1,3 +1,5 @@
#ifndef FILE_ACCESS_ANDROID_H
#define FILE_ACCESS_ANDROID_H
/*************************************************************************/ /*************************************************************************/
/* file_access_android.h */ /* file_access_android.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef FILE_ACCESS_ANDROID_H
#define FILE_ACCESS_ANDROID_H
#include "core/os/file_access.h" #include "core/os/file_access.h"
#include <android/asset_manager.h> #include <android/asset_manager.h>

View File

@ -1,3 +1,5 @@
#ifndef JAVA_GODOT_IO_WRAPPER_H
#define JAVA_GODOT_IO_WRAPPER_H
/*************************************************************************/ /*************************************************************************/
/* java_godot_io_wrapper.h */ /* java_godot_io_wrapper.h */
/*************************************************************************/ /*************************************************************************/
@ -31,8 +33,8 @@
// note, swapped java and godot around in the file name so all the java // note, swapped java and godot around in the file name so all the java
// wrappers are together // wrappers are together
#ifndef JAVA_GODOT_IO_WRAPPER_H
#define JAVA_GODOT_IO_WRAPPER_H
#include <android/log.h> #include <android/log.h>
#include <jni.h> #include <jni.h>

View File

@ -1,3 +1,5 @@
#ifndef JAVA_GODOT_LIB_JNI_H
#define JAVA_GODOT_LIB_JNI_H
/*************************************************************************/ /*************************************************************************/
/* java_godot_lib_jni.h */ /* java_godot_lib_jni.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JAVA_GODOT_LIB_JNI_H
#define JAVA_GODOT_LIB_JNI_H
#include <android/log.h> #include <android/log.h>
#include <jni.h> #include <jni.h>

View File

@ -1,3 +1,5 @@
#ifndef JAVA_GODOT_WRAPPER_H
#define JAVA_GODOT_WRAPPER_H
/*************************************************************************/ /*************************************************************************/
/* java_godot_wrapper.h */ /* java_godot_wrapper.h */
/*************************************************************************/ /*************************************************************************/
@ -31,8 +33,8 @@
// note, swapped java and godot around in the file name so all the java // note, swapped java and godot around in the file name so all the java
// wrappers are together // wrappers are together
#ifndef JAVA_GODOT_WRAPPER_H
#define JAVA_GODOT_WRAPPER_H
#include <android/log.h> #include <android/log.h>
#include <jni.h> #include <jni.h>

View File

@ -1,3 +1,5 @@
#ifndef JNI_UTILS_H
#define JNI_UTILS_H
/*************************************************************************/ /*************************************************************************/
/* jni_utils.h */ /* jni_utils.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JNI_UTILS_H
#define JNI_UTILS_H
#include "string_android.h" #include "string_android.h"
#include <core/engine.h> #include <core/engine.h>

View File

@ -1,3 +1,5 @@
#ifndef NET_SOCKET_ANDROID_H
#define NET_SOCKET_ANDROID_H
/*************************************************************************/ /*************************************************************************/
/* net_socket_android.h */ /* net_socket_android.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef NET_SOCKET_ANDROID_H
#define NET_SOCKET_ANDROID_H
#include "drivers/unix/net_socket_posix.h" #include "drivers/unix/net_socket_posix.h"

View File

@ -1,3 +1,5 @@
#ifndef OS_ANDROID_H
#define OS_ANDROID_H
/*************************************************************************/ /*************************************************************************/
/* os_android.h */ /* os_android.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef OS_ANDROID_H
#define OS_ANDROID_H
#include "audio_driver_opensl.h" #include "audio_driver_opensl.h"
#include "core/os/main_loop.h" #include "core/os/main_loop.h"

View File

@ -1,3 +1,5 @@
#ifndef GODOT_PLUGIN_JNI_H
#define GODOT_PLUGIN_JNI_H
/*************************************************************************/ /*************************************************************************/
/* godot_plugin_jni.h */ /* godot_plugin_jni.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef GODOT_PLUGIN_JNI_H
#define GODOT_PLUGIN_JNI_H
#include <android/log.h> #include <android/log.h>
#include <jni.h> #include <jni.h>

View File

@ -1,3 +1,5 @@
#ifndef POWER_ANDROID_H
#define POWER_ANDROID_H
/*************************************************************************/ /*************************************************************************/
/* power_android.h */ /* power_android.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef POWER_ANDROID_H
#define POWER_ANDROID_H
#include "core/os/os.h" #include "core/os/os.h"

View File

@ -1,3 +1,5 @@
#ifndef STRING_ANDROID_H
#define STRING_ANDROID_H
/*************************************************************************/ /*************************************************************************/
/* string_android.h */ /* string_android.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef STRING_ANDROID_H
#define STRING_ANDROID_H
#include "core/ustring.h" #include "core/ustring.h"
#include "thread_jandroid.h" #include "thread_jandroid.h"
#include <jni.h> #include <jni.h>

View File

@ -1,3 +1,5 @@
#ifndef THREAD_JANDROID_H
#define THREAD_JANDROID_H
/*************************************************************************/ /*************************************************************************/
/* thread_jandroid.h */ /* thread_jandroid.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef THREAD_JANDROID_H
#define THREAD_JANDROID_H
#include <jni.h> #include <jni.h>

View File

@ -1,3 +1,5 @@
#ifndef IPHONE_API_H
#define IPHONE_API_H
/*************************************************************************/ /*************************************************************************/
/* api.h */ /* api.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef IPHONE_API_H
#define IPHONE_API_H
#if defined(IPHONE_ENABLED) #if defined(IPHONE_ENABLED)
extern void godot_ios_plugins_initialize(); extern void godot_ios_plugins_initialize();

View File

@ -1,3 +1,5 @@
#ifndef IOS_H
#define IOS_H
/*************************************************************************/ /*************************************************************************/
/* ios.h */ /* ios.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef IOS_H
#define IOS_H
#include "core/object.h" #include "core/object.h"

View File

@ -1,3 +1,5 @@
#ifndef OS_IPHONE_H
#define OS_IPHONE_H
/*************************************************************************/ /*************************************************************************/
/* os_iphone.h */ /* os_iphone.h */
/*************************************************************************/ /*************************************************************************/
@ -30,8 +32,8 @@
#ifdef IPHONE_ENABLED #ifdef IPHONE_ENABLED
#ifndef OS_IPHONE_H
#define OS_IPHONE_H
#include "core/os/input.h" #include "core/os/input.h"
#include "drivers/coreaudio/audio_driver_coreaudio.h" #include "drivers/coreaudio/audio_driver_coreaudio.h"

View File

@ -1,3 +1,5 @@
#ifndef GODOT_PLUGIN_CONFIG_H
#define GODOT_PLUGIN_CONFIG_H
/*************************************************************************/ /*************************************************************************/
/* godot_plugin_config.h */ /* godot_plugin_config.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef GODOT_PLUGIN_CONFIG_H
#define GODOT_PLUGIN_CONFIG_H
#include "core/error_list.h" #include "core/error_list.h"
#include "core/io/config_file.h" #include "core/io/config_file.h"

View File

@ -1,3 +1,5 @@
#ifndef POWER_IPHONE_H
#define POWER_IPHONE_H
/*************************************************************************/ /*************************************************************************/
/* power_iphone.h */ /* power_iphone.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef POWER_IPHONE_H
#define POWER_IPHONE_H
#include <os/os.h> #include <os/os.h>

View File

@ -1,3 +1,5 @@
#ifndef JAVASCRIPT_API_H
#define JAVASCRIPT_API_H
/*************************************************************************/ /*************************************************************************/
/* api.h */ /* api.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JAVASCRIPT_API_H
#define JAVASCRIPT_API_H
void register_javascript_api(); void register_javascript_api();
void unregister_javascript_api(); void unregister_javascript_api();

View File

@ -1,3 +1,5 @@
#ifndef JAVASCRIPT_SINGLETON_H
#define JAVASCRIPT_SINGLETON_H
/*************************************************************************/ /*************************************************************************/
/* javascript_singleton.h */ /* javascript_singleton.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JAVASCRIPT_SINGLETON_H
#define JAVASCRIPT_SINGLETON_H
#include "core/object.h" #include "core/object.h"
#include "core/reference.h" #include "core/reference.h"

View File

@ -1,3 +1,5 @@
#ifndef JAVASCRIPT_TOOLS_EDITOR_PLUGIN_H
#define JAVASCRIPT_TOOLS_EDITOR_PLUGIN_H
/*************************************************************************/ /*************************************************************************/
/* javascript_tools_editor_plugin.h */ /* javascript_tools_editor_plugin.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JAVASCRIPT_TOOLS_EDITOR_PLUGIN_H
#define JAVASCRIPT_TOOLS_EDITOR_PLUGIN_H
#if defined(TOOLS_ENABLED) && defined(JAVASCRIPT_ENABLED) #if defined(TOOLS_ENABLED) && defined(JAVASCRIPT_ENABLED)
#include "core/io/zip_io.h" #include "core/io/zip_io.h"

View File

@ -1,3 +1,5 @@
#ifndef AUDIO_DRIVER_JAVASCRIPT_H
#define AUDIO_DRIVER_JAVASCRIPT_H
/*************************************************************************/ /*************************************************************************/
/* audio_driver_javascript.h */ /* audio_driver_javascript.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef AUDIO_DRIVER_JAVASCRIPT_H
#define AUDIO_DRIVER_JAVASCRIPT_H
#include "core/os/mutex.h" #include "core/os/mutex.h"
#include "core/os/thread.h" #include "core/os/thread.h"

View File

@ -1,3 +1,5 @@
#ifndef GODOT_AUDIO_H
#define GODOT_AUDIO_H
/*************************************************************************/ /*************************************************************************/
/* godot_audio.h */ /* godot_audio.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef GODOT_AUDIO_H
#define GODOT_AUDIO_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -1,3 +1,5 @@
#ifndef GODOT_JS_H
#define GODOT_JS_H
/*************************************************************************/ /*************************************************************************/
/* godot_js.h */ /* godot_js.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef GODOT_JS_H
#define GODOT_JS_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@ -1,3 +1,5 @@
#ifndef OS_JAVASCRIPT_H
#define OS_JAVASCRIPT_H
/*************************************************************************/ /*************************************************************************/
/* os_javascript.h */ /* os_javascript.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef OS_JAVASCRIPT_H
#define OS_JAVASCRIPT_H
#include "audio_driver_javascript.h" #include "audio_driver_javascript.h"
#include "drivers/unix/os_unix.h" #include "drivers/unix/os_unix.h"

View File

@ -1,3 +1,5 @@
#ifndef CRASH_HANDLER_OSX_H
#define CRASH_HANDLER_OSX_H
/*************************************************************************/ /*************************************************************************/
/* crash_handler_osx.h */ /* crash_handler_osx.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CRASH_HANDLER_OSX_H
#define CRASH_HANDLER_OSX_H
class CrashHandler { class CrashHandler {
bool disabled; bool disabled;

View File

@ -1,3 +1,5 @@
#ifndef DIR_ACCESS_OSX_H
#define DIR_ACCESS_OSX_H
/*************************************************************************/ /*************************************************************************/
/* dir_access_osx.h */ /* dir_access_osx.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef DIR_ACCESS_OSX_H
#define DIR_ACCESS_OSX_H
#if defined(UNIX_ENABLED) || defined(LIBC_FILEIO_ENABLED) #if defined(UNIX_ENABLED) || defined(LIBC_FILEIO_ENABLED)

View File

@ -1,3 +1,5 @@
#ifndef JOYPADOSX_H
#define JOYPADOSX_H
/*************************************************************************/ /*************************************************************************/
/* joypad_osx.h */ /* joypad_osx.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JOYPADOSX_H
#define JOYPADOSX_H
#ifdef MACOS_10_0_4 #ifdef MACOS_10_0_4
#include <IOKit/hidsystem/IOHIDUsageTables.h> #include <IOKit/hidsystem/IOHIDUsageTables.h>

View File

@ -1,3 +1,5 @@
#ifndef OS_OSX_H
#define OS_OSX_H
/*************************************************************************/ /*************************************************************************/
/* os_osx.h */ /* os_osx.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef OS_OSX_H
#define OS_OSX_H
#define BitMap _QDBitMap // Suppress deprecated QuickDraw definition. #define BitMap _QDBitMap // Suppress deprecated QuickDraw definition.

View File

@ -1,3 +1,5 @@
#ifndef POWER_OSX_H
#define POWER_OSX_H
/*************************************************************************/ /*************************************************************************/
/* power_osx.h */ /* power_osx.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef POWER_OSX_H
#define POWER_OSX_H
#include "core/os/file_access.h" #include "core/os/file_access.h"
#include "core/os/os.h" #include "core/os/os.h"

View File

@ -1,3 +1,5 @@
#ifndef REGISTER_APIS_H
#define REGISTER_APIS_H
/*************************************************************************/ /*************************************************************************/
/* register_platform_apis.h */ /* register_platform_apis.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef REGISTER_APIS_H
#define REGISTER_APIS_H
void register_platform_apis(); void register_platform_apis();
void unregister_platform_apis(); void unregister_platform_apis();

View File

@ -1,3 +1,5 @@
#ifndef OS_SERVER_H
#define OS_SERVER_H
/*************************************************************************/ /*************************************************************************/
/* os_server.h */ /* os_server.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef OS_SERVER_H
#define OS_SERVER_H
#include "drivers/dummy/texture_loader_dummy.h" #include "drivers/dummy/texture_loader_dummy.h"
#include "drivers/unix/os_unix.h" #include "drivers/unix/os_unix.h"

View File

@ -1,3 +1,5 @@
#ifndef CONTEXT_GL_WIN_H
#define CONTEXT_GL_WIN_H
/*************************************************************************/ /*************************************************************************/
/* context_gl_windows.h */ /* context_gl_windows.h */
/*************************************************************************/ /*************************************************************************/
@ -32,8 +34,8 @@
// Author: Juan Linietsky <reduzio@gmail.com>, (C) 2008 // Author: Juan Linietsky <reduzio@gmail.com>, (C) 2008
#ifndef CONTEXT_GL_WIN_H
#define CONTEXT_GL_WIN_H
#include "core/error_list.h" #include "core/error_list.h"
#include "core/os/os.h" #include "core/os/os.h"

View File

@ -1,3 +1,5 @@
#ifndef CRASH_HANDLER_WINDOWS_H
#define CRASH_HANDLER_WINDOWS_H
/*************************************************************************/ /*************************************************************************/
/* crash_handler_windows.h */ /* crash_handler_windows.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CRASH_HANDLER_WINDOWS_H
#define CRASH_HANDLER_WINDOWS_H
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#include <windows.h> #include <windows.h>

View File

@ -1,3 +1,5 @@
#ifndef JOYPAD_WINDOWS_H
#define JOYPAD_WINDOWS_H
/*************************************************************************/ /*************************************************************************/
/* joypad_windows.h */ /* joypad_windows.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef JOYPAD_WINDOWS_H
#define JOYPAD_WINDOWS_H
#include "os_windows.h" #include "os_windows.h"

View File

@ -1,3 +1,5 @@
#ifndef KEY_MAPPING_WINDOWS_H
#define KEY_MAPPING_WINDOWS_H
/*************************************************************************/ /*************************************************************************/
/* key_mapping_windows.h */ /* key_mapping_windows.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef KEY_MAPPING_WINDOWS_H
#define KEY_MAPPING_WINDOWS_H
#include "core/os/keyboard.h" #include "core/os/keyboard.h"

View File

@ -1,3 +1,5 @@
#ifndef LANG_TABLE_H
#define LANG_TABLE_H
/*************************************************************************/ /*************************************************************************/
/* lang_table.h */ /* lang_table.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef LANG_TABLE_H
#define LANG_TABLE_H
//#include <windows.h> //#include <windows.h>

View File

@ -1,3 +1,5 @@
#ifndef OS_WINDOWS_H
#define OS_WINDOWS_H
/*************************************************************************/ /*************************************************************************/
/* os_windows.h */ /* os_windows.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef OS_WINDOWS_H
#define OS_WINDOWS_H
#include "context_gl_windows.h" #include "context_gl_windows.h"
#include "core/os/input.h" #include "core/os/input.h"

View File

@ -1,3 +1,5 @@
#ifndef POWER_WINDOWS_H
#define POWER_WINDOWS_H
/*************************************************************************/ /*************************************************************************/
/* power_windows.h */ /* power_windows.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef POWER_WINDOWS_H
#define POWER_WINDOWS_H
#include "core/os/dir_access.h" #include "core/os/dir_access.h"
#include "core/os/file_access.h" #include "core/os/file_access.h"

View File

@ -1,3 +1,5 @@
#ifndef WINDOWS_TERMINAL_LOGGER_H
#define WINDOWS_TERMINAL_LOGGER_H
/*************************************************************************/ /*************************************************************************/
/* windows_terminal_logger.h */ /* windows_terminal_logger.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef WINDOWS_TERMINAL_LOGGER_H
#define WINDOWS_TERMINAL_LOGGER_H
#ifdef WINDOWS_ENABLED #ifdef WINDOWS_ENABLED

View File

@ -1,3 +1,5 @@
#ifndef CONTEXT_GL_X11_H
#define CONTEXT_GL_X11_H
/*************************************************************************/ /*************************************************************************/
/* context_gl_x11.h */ /* context_gl_x11.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CONTEXT_GL_X11_H
#define CONTEXT_GL_X11_H
#ifdef X11_ENABLED #ifdef X11_ENABLED

View File

@ -1,3 +1,5 @@
#ifndef CRASH_HANDLER_X11_H
#define CRASH_HANDLER_X11_H
/*************************************************************************/ /*************************************************************************/
/* crash_handler_x11.h */ /* crash_handler_x11.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef CRASH_HANDLER_X11_H
#define CRASH_HANDLER_X11_H
class CrashHandler { class CrashHandler {
bool disabled; bool disabled;

View File

@ -1,3 +1,5 @@
#ifndef JOYPAD_LINUX_H
#define JOYPAD_LINUX_H
/*************************************************************************/ /*************************************************************************/
/* joypad_linux.h */ /* joypad_linux.h */
/*************************************************************************/ /*************************************************************************/
@ -29,8 +31,8 @@
/*************************************************************************/ /*************************************************************************/
//author: Andreas Haas <hondres, liugam3@gmail.com> //author: Andreas Haas <hondres, liugam3@gmail.com>
#ifndef JOYPAD_LINUX_H
#define JOYPAD_LINUX_H
#ifdef JOYDEV_ENABLED #ifdef JOYDEV_ENABLED
#include "core/os/mutex.h" #include "core/os/mutex.h"

View File

@ -1,3 +1,5 @@
#ifndef KEY_MAPPING_X11_H
#define KEY_MAPPING_X11_H
/*************************************************************************/ /*************************************************************************/
/* key_mapping_x11.h */ /* key_mapping_x11.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef KEY_MAPPING_X11_H
#define KEY_MAPPING_X11_H
#include <X11/XF86keysym.h> #include <X11/XF86keysym.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>

View File

@ -1,3 +1,5 @@
#ifndef OS_X11_H
#define OS_X11_H
/*************************************************************************/ /*************************************************************************/
/* os_x11.h */ /* os_x11.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef OS_X11_H
#define OS_X11_H
#include "context_gl_x11.h" #include "context_gl_x11.h"
#include "core/local_vector.h" #include "core/local_vector.h"

View File

@ -1,3 +1,5 @@
#ifndef POWER_X11_H
#define POWER_X11_H
/*************************************************************************/ /*************************************************************************/
/* power_x11.h */ /* power_x11.h */
/*************************************************************************/ /*************************************************************************/
@ -28,8 +30,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/ /*************************************************************************/
#ifndef POWER_X11_H
#define POWER_X11_H
#include "core/os/dir_access.h" #include "core/os/dir_access.h"
#include "core/os/file_access.h" #include "core/os/file_access.h"