The file scrcpy.c contains too many different things in addition to the main logic, so move the screen code to a separate file, screen.c.
9 lines
163 B
C
9 lines
163 B
C
#ifndef SCRCPY_H
|
|
#define SCRCPY_H
|
|
|
|
#include <SDL2/SDL_stdinc.h>
|
|
|
|
SDL_bool scrcpy(const char *serial, Uint16 local_port, Uint16 max_size, Uint32 bit_rate);
|
|
|
|
#endif
|