mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-22 15:45:22 +03:00
900b075e3a
on unix, but client screens don't simulate events other than mouse move. also not supporting clipboard at all yet and the main app is just a temporary framework to test with. must clean up protocol and communication.
34 lines
440 B
C
34 lines
440 B
C
#ifndef BASICTYPES_H
|
|
#define BASICTYPES_H
|
|
|
|
#if defined(__linux__)
|
|
|
|
#define CONFIG_PLATFORM_LINUX
|
|
#define CONFIG_TYPES_X11
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef int8_t SInt8;
|
|
typedef int16_t SInt16;
|
|
typedef int32_t SInt32;
|
|
typedef int64_t SInt64;
|
|
|
|
typedef uint8_t UInt8;
|
|
typedef uint16_t UInt16;
|
|
typedef uint32_t UInt32;
|
|
typedef uint64_t UInt64;
|
|
|
|
#else
|
|
|
|
#error unsupported platform
|
|
|
|
#endif
|
|
|
|
#ifndef NULL
|
|
#define NULL 0
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|