about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedatkbridge.c
blob: 88198faf055b38937610b61646b82beb2e0d9fd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define _GNU_SOURCE         /* See feature_test_macros(7) */
#include <dlfcn.h>

#include "wrappedlibs.h"

#include "debug.h"
#include "wrapper.h"
#include "bridge.h"
#include "librarian/library_private.h"
#include "x64emu.h"

const char* atkbridgeName = "libatk-bridge-2.0.so.0";
#define LIBNAME atkbridge

EXPORT int my_atk_bridge_adaptor_init(void* argc, void** argv)
{
    return 0;
}

#define PRE_INIT    \
    if(box64_nogtk) \
        return -1;

#define CUSTOM_INIT \
    setNeededLibs(lib, 5,               \
        "libatk-1.0.so.0",              \
        "libSM.so.6",                   \
        "libICE.so.6",                  \
        "libXau.so.6",                  \
        "libxcb.so.1");

#include "wrappedlib_init.h"