From 4d7e106088d439fc2fafd5a2b198a88d0f1e1771 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 17 May 2024 14:46:22 +0200 Subject: [PATCH] Added empty wrapped libdecor-0.so.0 --- CMakeLists.txt | 1 + src/library_list.h | 1 + src/wrapped/generated/functions_list.txt | 1 + src/wrapped/generated/wrappeddecor0defs.h | 8 +++ src/wrapped/generated/wrappeddecor0types.h | 17 ++++++ src/wrapped/generated/wrappeddecor0undefs.h | 8 +++ src/wrapped/wrappeddecor0.c | 30 +++++++++++ src/wrapped/wrappeddecor0_private.h | 60 +++++++++++++++++++++ 8 files changed, 126 insertions(+) create mode 100644 src/wrapped/generated/wrappeddecor0defs.h create mode 100644 src/wrapped/generated/wrappeddecor0types.h create mode 100644 src/wrapped/generated/wrappeddecor0undefs.h create mode 100644 src/wrapped/wrappeddecor0.c create mode 100644 src/wrapped/wrappeddecor0_private.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d2493d3..2fb55a4d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -457,6 +457,7 @@ set(WRAPPEDS "${BOX64_ROOT}/src/wrapped/wrappeddbus.c" "${BOX64_ROOT}/src/wrapped/wrappeddbusglib1.c" "${BOX64_ROOT}/src/wrapped/wrappeddbusmenuglib.c" + "${BOX64_ROOT}/src/wrapped/wrappeddecor0.c" "${BOX64_ROOT}/src/wrapped/wrappedevent21.c" "${BOX64_ROOT}/src/wrapped/wrappedexpat.c" "${BOX64_ROOT}/src/wrapped/wrappedfaudio.c" diff --git a/src/library_list.h b/src/library_list.h index a2049ea6..8cbce75b 100644 --- a/src/library_list.h +++ b/src/library_list.h @@ -105,6 +105,7 @@ GO("libudev.so.0", udev0) GO("libudev.so.1", udev1) GO("libudev.so", udev1) GO("libdbus-1.so.3", dbus) +GO("libdecor-0.so.0", decor0) //GO("libiconv.so.2", iconv) GO("libdrm.so.2", libdrm) GO("libexpat.so.1", expat) diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 74b55489..7fa6270b 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -3262,6 +3262,7 @@ wrappeddbusmenuglib: - dbusmenu_menuitem_send_about_to_show - iFppp: - dbusmenu_client_add_type_handler +wrappeddecor0: wrappedevent21: - vFpiwpp: - event_set diff --git a/src/wrapped/generated/wrappeddecor0defs.h b/src/wrapped/generated/wrappeddecor0defs.h new file mode 100644 index 00000000..3f8696fd --- /dev/null +++ b/src/wrapped/generated/wrappeddecor0defs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.21) * + *******************************************************************/ +#ifndef __wrappeddecor0DEFS_H_ +#define __wrappeddecor0DEFS_H_ + + +#endif // __wrappeddecor0DEFS_H_ diff --git a/src/wrapped/generated/wrappeddecor0types.h b/src/wrapped/generated/wrappeddecor0types.h new file mode 100644 index 00000000..6fa92b9e --- /dev/null +++ b/src/wrapped/generated/wrappeddecor0types.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.21) * + *******************************************************************/ +#ifndef __wrappeddecor0TYPES_H_ +#define __wrappeddecor0TYPES_H_ + +#ifndef LIBNAME +#error You should only #include this file inside a wrapped*.c file +#endif +#ifndef ADDED_FUNCTIONS +#define ADDED_FUNCTIONS() +#endif + + +#define SUPER() ADDED_FUNCTIONS() + +#endif // __wrappeddecor0TYPES_H_ diff --git a/src/wrapped/generated/wrappeddecor0undefs.h b/src/wrapped/generated/wrappeddecor0undefs.h new file mode 100644 index 00000000..8d7a76f2 --- /dev/null +++ b/src/wrapped/generated/wrappeddecor0undefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.4.0.21) * + *******************************************************************/ +#ifndef __wrappeddecor0UNDEFS_H_ +#define __wrappeddecor0UNDEFS_H_ + + +#endif // __wrappeddecor0UNDEFS_H_ diff --git a/src/wrapped/wrappeddecor0.c b/src/wrapped/wrappeddecor0.c new file mode 100644 index 00000000..f19dfcd7 --- /dev/null +++ b/src/wrapped/wrappeddecor0.c @@ -0,0 +1,30 @@ +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include +#include +#include +#include + +#include "wrappedlibs.h" + +#include "debug.h" +#include "wrapper.h" +#include "bridge.h" +#include "librarian/library_private.h" +#include "x64emu.h" +#include "emu/x64emu_private.h" +#include "callback.h" +#include "librarian.h" +#include "box64context.h" +#include "emu/x64emu_private.h" +#include "myalign.h" + +const char* decor0Name = "libdecor-0.so.0"; +#define LIBNAME decor0 + +#define ADDED_FUNCTIONS() \ + +#include "generated/wrappeddecor0types.h" + +#include "wrappercallback.h" + +#include "wrappedlib_init.h" diff --git a/src/wrapped/wrappeddecor0_private.h b/src/wrapped/wrappeddecor0_private.h new file mode 100644 index 00000000..517d1f47 --- /dev/null +++ b/src/wrapped/wrappeddecor0_private.h @@ -0,0 +1,60 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error Meh.... +#endif + +//GO(libdecor_configuration_get_content_size, +//GO(libdecor_configuration_get_window_state, +//GO(libdecor_decorate, +//GO(libdecor_dispatch, +//GO(libdecor_frame_close, +//GO(libdecor_frame_commit, +//GO(libdecor_frame_dismiss_popup, +//GO(libdecor_frame_get_capabilities, +//GO(libdecor_frame_get_content_height, +//GO(libdecor_frame_get_content_width, +//GO(libdecor_frame_get_max_content_size, +//GO(libdecor_frame_get_min_content_size, +//GO(libdecor_frame_get_title, +//GO(libdecor_frame_get_window_state, +//GO(libdecor_frame_get_wl_surface, +//GO(libdecor_frame_get_xdg_surface, +//GO(libdecor_frame_get_xdg_toplevel, +//GO(libdecor_frame_has_capability, +//GO(libdecor_frame_is_floating, +//GO(libdecor_frame_is_visible, +//GO(libdecor_frame_map, +//GO(libdecor_frame_move, +//GO(libdecor_frame_popup_grab, +//GO(libdecor_frame_popup_ungrab, +//GO(libdecor_frame_ref, +//GO(libdecor_frame_resize, +//GO(libdecor_frame_set_app_id, +//GO(libdecor_frame_set_capabilities, +//GO(libdecor_frame_set_fullscreen, +//GO(libdecor_frame_set_max_content_size, +//GO(libdecor_frame_set_maximized, +//GO(libdecor_frame_set_min_content_size, +//GO(libdecor_frame_set_minimized, +//GO(libdecor_frame_set_parent, +//GO(libdecor_frame_set_title, +//GO(libdecor_frame_set_visibility, +//GO(libdecor_frame_show_window_menu, +//GO(libdecor_frame_toplevel_commit, +//GO(libdecor_frame_translate_coordinate, +//GO(libdecor_frame_unref, +//GO(libdecor_frame_unset_capabilities, +//GO(libdecor_frame_unset_fullscreen, +//GO(libdecor_frame_unset_maximized, +//GO(libdecor_get_fd, +//GO(libdecor_get_wl_display, +//GO(libdecor_new, +//GO(libdecor_notify_plugin_error, +//GO(libdecor_notify_plugin_ready, +//GO(libdecor_plugin_init, +//GO(libdecor_plugin_release, +//GO(libdecor_state_free, +//GO(libdecor_state_get_content_height, +//GO(libdecor_state_get_content_width, +//GO(libdecor_state_get_window_state, +//GO(libdecor_state_new, +//GO(libdecor_unref,