Romain Vimont
|
3adff37c2d
|
Use sc_ prefix for sockets
Rename:
- socket_t to sc_socket
- INVALID_SOCKET to SC_INVALID_SOCKET
|
2021-10-26 22:49:45 +02:00 |
|
Romain Vimont
|
f6320c7e31
|
Wrap SDL thread functions into scrcpy-specific API
The goal is to expose a consistent API for system tools, and paves the
way to make the "core" independant of SDL in the future.
|
2021-02-17 09:54:03 +01:00 |
|
Romain Vimont
|
ab912c23e7
|
Define feature test macros in common.h
This enables necessary functions once for all.
As a consequence, define common.h before any other header.
|
2021-01-17 14:08:48 +01:00 |
|
Romain Vimont
|
59feb2a15c
|
Group common includes into common.h
Include config.h and compat.h in common.h, and include common.h from all
source files.
|
2021-01-08 19:22:10 +01:00 |
|
Romain Vimont
|
dfd0707a29
|
Move utilities to util/
|
2019-11-24 11:53:23 +01:00 |
|
Romain Vimont
|
1f8ba1ca79
|
Include config.h everywhere
Ref: <https://github.com/Genymobile/scrcpy/issues/829>
Suggested-by: Louis Kruger <louisk@gmail.com>
|
2019-09-29 22:39:53 +02:00 |
|
Romain Vimont
|
6112095e75
|
Add device event receiver
Create a separate component to handle device events, managed by the
controller.
|
2019-05-30 22:46:52 +02:00 |
|