mirror of
https://github.com/Genymobile/scrcpy
synced 2024-12-21 23:00:54 +00:00
e4d5c1ce36
This will allow to define symbols in options.c without all the dependencies of scrcpy.c.
28 lines
430 B
C
28 lines
430 B
C
#ifndef SCRCPY_CLI_H
|
|
#define SCRCPY_CLI_H
|
|
|
|
#include "common.h"
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include "options.h"
|
|
|
|
struct scrcpy_cli_args {
|
|
struct scrcpy_options opts;
|
|
bool help;
|
|
bool version;
|
|
};
|
|
|
|
void
|
|
scrcpy_print_usage(const char *arg0);
|
|
|
|
bool
|
|
scrcpy_parse_args(struct scrcpy_cli_args *args, int argc, char *argv[]);
|
|
|
|
#ifdef SC_TEST
|
|
bool
|
|
sc_parse_shortcut_mods(const char *s, struct sc_shortcut_mods *mods);
|
|
#endif
|
|
|
|
#endif
|