Split syncthingconnection.cpp
* Move methods for specific requests to its own file
This commit is contained in:
parent
2862b6fd87
commit
32b2907e67
|
@ -24,6 +24,7 @@ set(SRC_FILES
|
||||||
syncthingdir.cpp
|
syncthingdir.cpp
|
||||||
syncthingdev.cpp
|
syncthingdev.cpp
|
||||||
syncthingconnection.cpp
|
syncthingconnection.cpp
|
||||||
|
syncthingconnection_requests.cpp
|
||||||
syncthingconnectionsettings.cpp
|
syncthingconnectionsettings.cpp
|
||||||
syncthingnotifier.cpp
|
syncthingnotifier.cpp
|
||||||
syncthingconfig.cpp
|
syncthingconfig.cpp
|
||||||
|
@ -94,7 +95,7 @@ if(SYNCTHING_CONNECTION_MOCKED)
|
||||||
syncthingconnectionmockhelpers.cpp
|
syncthingconnectionmockhelpers.cpp
|
||||||
)
|
)
|
||||||
set_property(
|
set_property(
|
||||||
SOURCE syncthingconnection.cpp
|
SOURCE syncthingconnection_requests.cpp
|
||||||
syncthingconnectionmockhelpers.h
|
syncthingconnectionmockhelpers.h
|
||||||
syncthingconnectionmockhelpers.cpp
|
syncthingconnectionmockhelpers.cpp
|
||||||
APPEND PROPERTY COMPILE_DEFINITIONS ${META_PROJECT_VARNAME_UPPER}_CONNECTION_MOCKED
|
APPEND PROPERTY COMPILE_DEFINITIONS ${META_PROJECT_VARNAME_UPPER}_CONNECTION_MOCKED
|
||||||
|
@ -116,7 +117,7 @@ endif()
|
||||||
option(SYNCTHING_CONNECTION_LOG_SYNCTHING_EVENTS "enables logging event data to stdout (enable only for debugging!)" OFF)
|
option(SYNCTHING_CONNECTION_LOG_SYNCTHING_EVENTS "enables logging event data to stdout (enable only for debugging!)" OFF)
|
||||||
if(SYNCTHING_CONNECTION_LOG_SYNCTHING_EVENTS)
|
if(SYNCTHING_CONNECTION_LOG_SYNCTHING_EVENTS)
|
||||||
set_property(
|
set_property(
|
||||||
SOURCE syncthingconnection.cpp
|
SOURCE syncthingconnection_requests.cpp
|
||||||
APPEND PROPERTY COMPILE_DEFINITIONS ${META_PROJECT_VARNAME_UPPER}_LOG_SYNCTHING_EVENTS
|
APPEND PROPERTY COMPILE_DEFINITIONS ${META_PROJECT_VARNAME_UPPER}_LOG_SYNCTHING_EVENTS
|
||||||
)
|
)
|
||||||
message(WARNING "SyncthingConnection class will log event data to stdout")
|
message(WARNING "SyncthingConnection class will log event data to stdout")
|
||||||
|
@ -126,7 +127,7 @@ endif()
|
||||||
option(SYNCTHING_CONNECTION_LOG_API_CALLS "enables logging API calls done by the SyncthingConnector (enable only for debugging!)" OFF)
|
option(SYNCTHING_CONNECTION_LOG_API_CALLS "enables logging API calls done by the SyncthingConnector (enable only for debugging!)" OFF)
|
||||||
if(SYNCTHING_CONNECTION_LOG_API_CALLS)
|
if(SYNCTHING_CONNECTION_LOG_API_CALLS)
|
||||||
set_property(
|
set_property(
|
||||||
SOURCE syncthingconnection.cpp
|
SOURCE syncthingconnection_requests.cpp
|
||||||
APPEND PROPERTY COMPILE_DEFINITIONS ${META_PROJECT_VARNAME_UPPER}_LOG_API_CALLS
|
APPEND PROPERTY COMPILE_DEFINITIONS ${META_PROJECT_VARNAME_UPPER}_LOG_API_CALLS
|
||||||
)
|
)
|
||||||
message(WARNING "SyncthingConnection class will log API calls data to stdout")
|
message(WARNING "SyncthingConnection class will log API calls data to stdout")
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue