scrcpy/app/src/scrcpy.h
Romain Vimont c8a6783494 Use positive options names internally
For clarity, store the flag resulting of the command-line options
--no-control and --no-display into "control" and "display".
2019-06-05 00:25:15 +02:00

27 lines
474 B
C

#ifndef SCRCPY_H
#define SCRCPY_H
#include <stdbool.h>
#include <stdint.h>
#include <recorder.h>
struct scrcpy_options {
const char *serial;
const char *crop;
const char *record_filename;
enum recorder_format record_format;
uint16_t port;
uint16_t max_size;
uint32_t bit_rate;
bool show_touches;
bool fullscreen;
bool always_on_top;
bool control;
bool display;
};
bool
scrcpy(const struct scrcpy_options *options);
#endif