2018-02-08 11:14:13 +01:00
|
|
|
#ifndef SCRCPY_H
|
|
|
|
#define SCRCPY_H
|
2017-12-12 15:12:07 +01:00
|
|
|
|
2017-12-15 17:34:16 +01:00
|
|
|
#include <SDL2/SDL_stdinc.h>
|
2017-12-12 15:12:07 +01:00
|
|
|
|
2018-03-21 14:04:13 +01:00
|
|
|
struct scrcpy_options {
|
|
|
|
const char *serial;
|
2018-08-09 19:12:27 +02:00
|
|
|
const char *crop;
|
2018-03-21 14:04:13 +01:00
|
|
|
Uint16 port;
|
|
|
|
Uint16 max_size;
|
|
|
|
Uint32 bit_rate;
|
2018-03-25 15:23:00 +02:00
|
|
|
SDL_bool show_touches;
|
2018-09-04 15:55:20 +02:00
|
|
|
SDL_bool fullscreen;
|
2018-03-21 14:04:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
SDL_bool scrcpy(const struct scrcpy_options *options);
|
2017-12-12 15:12:07 +01:00
|
|
|
|
|
|
|
#endif
|