kdeconnect-kde/core/backends/lan/CMakeLists.txt
Albert Vaca Cintora 5796b561bf Simplify the code that reads from the socket line by line
Since sockets are buffered `QIODevices` we can use `canReadLine()` to check
if we have a full line, instead of using a custom `SocketLineReader` class
(and the copy-pasted `DeviceLineReader` in the Bluetooth backend). 

We can also loop through all the lines instead of queuing calls to `dataReceived`.

And we don't need transactions.
2023-07-10 15:58:56 +00:00

11 lines
253 B
CMake

set(backends_kdeconnect_SRCS
${backends_kdeconnect_SRCS}
backends/lan/server.cpp
backends/lan/lanlinkprovider.cpp
backends/lan/landevicelink.cpp
backends/lan/compositeuploadjob.cpp
backends/lan/uploadjob.cpp
PARENT_SCOPE
)