Move scrcpy option structs to options.h

This will allow to define symbols in options.c without all the
dependencies of scrcpy.c.
This commit is contained in:
Romain Vimont
2021-10-27 18:43:47 +02:00
parent ac23bec144
commit e4d5c1ce36
14 changed files with 172 additions and 165 deletions

View File

@@ -5,7 +5,7 @@
#include <SDL2/SDL_log.h>
#include "scrcpy.h"
#include "options.h"
#define LOGV(...) SDL_LogVerbose(SDL_LOG_CATEGORY_APPLICATION, __VA_ARGS__)
#define LOGD(...) SDL_LogDebug(SDL_LOG_CATEGORY_APPLICATION, __VA_ARGS__)