godot/platform/linuxbsd/os_linuxbsd.cpp

/**************************************************************************/
/*  os_linuxbsd.cpp                                                       */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "os_linuxbsd.h"

#include "core/io/certs_compressed.gen.h"
#include "core/io/dir_access.h"
#include "main/main.h"
#include "servers/display_server.h"
#include "servers/rendering_server.h"

#ifdef X11_ENABLED
#include "x11/display_server_x11.h"
#endif

#ifdef WAYLAND_ENABLED
#include "wayland/display_server_wayland.h"
#endif

#include "modules/modules_enabled.gen.h" // For regex.
#ifdef MODULE_REGEX_ENABLED
#include "modules/regex/regex.h"
#endif

#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/utsname.h>
#include <unistd.h>

#ifdef HAVE_MNTENT
#include <mntent.h>
#endif

#if defined(__FreeBSD__)
#include <sys/sysctl.h>
#endif

void OS_LinuxBSD::alert(const String &p_alert, const String &p_title) {}

void OS_LinuxBSD::initialize() {}

void OS_LinuxBSD::initialize_joypads() {}

String OS_LinuxBSD::get_unique_id() const {}

String OS_LinuxBSD::get_processor_name() const {}

bool OS_LinuxBSD::is_sandboxed() const {}

void OS_LinuxBSD::finalize() {}

MainLoop *OS_LinuxBSD::get_main_loop() const {}

void OS_LinuxBSD::delete_main_loop() {}

void OS_LinuxBSD::set_main_loop(MainLoop *p_main_loop) {}

String OS_LinuxBSD::get_identifier() const {}

String OS_LinuxBSD::get_name() const {}

String OS_LinuxBSD::get_systemd_os_release_info_value(const String &key) const {}

String OS_LinuxBSD::get_distribution_name() const {}

String OS_LinuxBSD::get_version() const {}

Vector<String> OS_LinuxBSD::get_video_adapter_driver_info() const {}

Vector<String> OS_LinuxBSD::lspci_device_filter(Vector<String> vendor_device_id_mapping, String class_suffix, String check_column, String whitelist) const {}

Vector<String> OS_LinuxBSD::lspci_get_device_value(Vector<String> vendor_device_id_mapping, String check_column, String blacklist) const {}

Error OS_LinuxBSD::shell_open(const String &p_uri) {}

bool OS_LinuxBSD::_check_internal_feature_support(const String &p_feature) {}

uint64_t OS_LinuxBSD::get_embedded_pck_offset() const {}

Vector<String> OS_LinuxBSD::get_system_fonts() const {}

#ifdef FONTCONFIG_ENABLED
int OS_LinuxBSD::_weight_to_fc(int p_weight) const {}

int OS_LinuxBSD::_stretch_to_fc(int p_stretch) const {}
#endif // FONTCONFIG_ENABLED

Vector<String> OS_LinuxBSD::get_system_font_path_for_text(const String &p_font_name, const String &p_text, const String &p_locale, const String &p_script, int p_weight, int p_stretch, bool p_italic) const {}

String OS_LinuxBSD::get_system_font_path(const String &p_font_name, int p_weight, int p_stretch, bool p_italic) const {}

String OS_LinuxBSD::get_config_path() const {}

String OS_LinuxBSD::get_data_path() const {}

String OS_LinuxBSD::get_cache_path() const {}

String OS_LinuxBSD::get_system_dir(SystemDir p_dir, bool p_shared_storage) const {}

void OS_LinuxBSD::run() {}

void OS_LinuxBSD::disable_crash_handler() {}

bool OS_LinuxBSD::is_disable_crash_handler() const {}

static String get_mountpoint(const String &p_path) {}

Error OS_LinuxBSD::move_to_trash(const String &p_path) {}

String OS_LinuxBSD::get_system_ca_certificates() {}

OS_LinuxBSD::OS_LinuxBSD() {}

OS_LinuxBSD::~OS_LinuxBSD() {}