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