2018-02-08 11:14:13 +01:00
|
|
|
#ifndef SCRCPY_H
|
|
|
|
#define SCRCPY_H
|
2017-12-12 15:12:07 +01:00
|
|
|
|
2019-03-02 23:52:22 +01:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
2019-02-09 15:20:07 +01:00
|
|
|
#include <recorder.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-11-11 14:03:29 +01:00
|
|
|
const char *record_filename;
|
2019-02-09 15:20:07 +01:00
|
|
|
enum recorder_format record_format;
|
2019-03-02 23:52:22 +01:00
|
|
|
uint16_t port;
|
|
|
|
uint16_t max_size;
|
|
|
|
uint32_t bit_rate;
|
|
|
|
bool show_touches;
|
|
|
|
bool fullscreen;
|
|
|
|
bool always_on_top;
|
|
|
|
bool no_control;
|
|
|
|
bool no_display;
|
2018-03-21 14:04:13 +01:00
|
|
|
};
|
|
|
|
|
2019-03-02 23:52:22 +01:00
|
|
|
bool
|
2019-03-02 20:09:56 +01:00
|
|
|
scrcpy(const struct scrcpy_options *options);
|
2017-12-12 15:12:07 +01:00
|
|
|
|
|
|
|
#endif
|