Add network status check for AWG/WG protocol
This commit is contained in:
parent
9dea98f020
commit
e792117be1
11 changed files with 304 additions and 16 deletions
|
|
@ -33,6 +33,10 @@ set(HEADERS ${HEADERS}
|
|||
# Mozilla headres
|
||||
set(HEADERS ${HEADERS}
|
||||
${CLIENT_ROOT_DIR}/mozilla/models/server.h
|
||||
${CLIENT_ROOT_DIR}/mozilla/dnspingsender.h
|
||||
${CLIENT_ROOT_DIR}/mozilla/pinghelper.h
|
||||
${CLIENT_ROOT_DIR}/mozilla/pingsender.h
|
||||
${CLIENT_ROOT_DIR}/mozilla/pingsenderfactory.h
|
||||
${CLIENT_ROOT_DIR}/mozilla/shared/ipaddress.h
|
||||
${CLIENT_ROOT_DIR}/mozilla/shared/leakdetector.h
|
||||
${CLIENT_ROOT_DIR}/mozilla/controllerimpl.h
|
||||
|
|
@ -84,6 +88,10 @@ set(SOURCES ${SOURCES}
|
|||
# Mozilla sources
|
||||
set(SOURCES ${SOURCES}
|
||||
${CLIENT_ROOT_DIR}/mozilla/models/server.cpp
|
||||
${CLIENT_ROOT_DIR}/mozilla/dnspingsender.cpp
|
||||
${CLIENT_ROOT_DIR}/mozilla/pinghelper.cpp
|
||||
${CLIENT_ROOT_DIR}/mozilla/pingsender.cpp
|
||||
${CLIENT_ROOT_DIR}/mozilla/pingsenderfactory.cpp
|
||||
${CLIENT_ROOT_DIR}/mozilla/shared/ipaddress.cpp
|
||||
${CLIENT_ROOT_DIR}/mozilla/shared/leakdetector.cpp
|
||||
${CLIENT_ROOT_DIR}/mozilla/localsocketcontroller.cpp
|
||||
|
|
@ -147,13 +155,25 @@ set(SOURCES ${SOURCES}
|
|||
${UI_CONTROLLERS_CPP}
|
||||
)
|
||||
|
||||
if (LINUX)
|
||||
set(HEADERS ${HEADERS}
|
||||
${CLIENT_ROOT_DIR}/platforms/linux/linuxpingsender.h
|
||||
)
|
||||
|
||||
set(SOURCES ${SOURCES}
|
||||
${CLIENT_ROOT_DIR}/platforms/linux/linuxpingsender.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
set(HEADERS ${HEADERS}
|
||||
${CLIENT_ROOT_DIR}/protocols/ikev2_vpn_protocol_windows.h
|
||||
${CLIENT_ROOT_DIR}/platforms/windows/windowspingsender.h
|
||||
)
|
||||
|
||||
set(SOURCES ${SOURCES}
|
||||
${CLIENT_ROOT_DIR}/protocols/ikev2_vpn_protocol_windows.cpp
|
||||
${CLIENT_ROOT_DIR}/platforms/windows/windowspingsender.cpp
|
||||
)
|
||||
|
||||
set(RESOURCES ${RESOURCES}
|
||||
|
|
@ -161,6 +181,16 @@ if(WIN32)
|
|||
)
|
||||
endif()
|
||||
|
||||
if (APPLE AND NOT IOS AND NOT MACOS_NE)
|
||||
set(HEADERS ${HEADERS}
|
||||
${CLIENT_ROOT_DIR}/platforms/macos/macospingsender.h
|
||||
)
|
||||
|
||||
set(SOURCES ${SOURCES}
|
||||
${CLIENT_ROOT_DIR}/platforms/macos/macosspingsender.cpp
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WIN32 OR (APPLE AND NOT IOS) OR (LINUX AND NOT ANDROID))
|
||||
message("Client desktop build")
|
||||
add_compile_definitions(AMNEZIA_DESKTOP)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue