mirror of
https://github.com/Genymobile/scrcpy.git
synced 2024-09-19 05:31:21 +02:00
aeda583a2c
Limit source code to 80 chars, and declare functions return type and modifiers on a separate line. This allows to avoid very long lines, and all function names are aligned. (We do this on VLC, and I like it.)
24 lines
460 B
C
24 lines
460 B
C
#ifndef SCRCPY_H
|
|
#define SCRCPY_H
|
|
|
|
#include <SDL2/SDL_stdinc.h>
|
|
#include <recorder.h>
|
|
|
|
struct scrcpy_options {
|
|
const char *serial;
|
|
const char *crop;
|
|
const char *record_filename;
|
|
enum recorder_format record_format;
|
|
Uint16 port;
|
|
Uint16 max_size;
|
|
Uint32 bit_rate;
|
|
SDL_bool show_touches;
|
|
SDL_bool fullscreen;
|
|
SDL_bool always_on_top;
|
|
SDL_bool no_window;
|
|
};
|
|
|
|
SDL_bool
|
|
scrcpy(const struct scrcpy_options *options);
|
|
|
|
#endif
|