f4c7e12ea6
Summary: Added primitive support for the mpriscontrol plugin on Windows by simulating VK_MEDIA key presses. I took a look into `ISystemMediaTransportControls`, but there doesn't seem to query it since it's per app. Leaving simulating key presses our only option for now. Completes T10000 Reviewers: kdeconnect, #kde_connect, albertvaka Reviewed By: #kde_connect, albertvaka Subscribers: albertvaka Tags: #kde_connect, #windows Maniphest Tasks: T10000 Differential Revision: https://phabricator.kde.org/D17702
46 lines
1.4 KiB
CMake
46 lines
1.4 KiB
CMake
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}/core)
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kdeconnect-plugins\")
|
|
install(FILES kdeconnect_plugin.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
|
|
|
|
add_subdirectory(ping)
|
|
add_subdirectory(battery)
|
|
add_subdirectory(sendnotifications)
|
|
add_subdirectory(mpriscontrol)
|
|
|
|
if(NOT SAILFISHOS)
|
|
add_subdirectory(clipboard)
|
|
add_subdirectory(contacts)
|
|
add_subdirectory(share)
|
|
add_subdirectory(remotekeyboard)
|
|
add_subdirectory(notifications)
|
|
add_subdirectory(findmyphone)
|
|
add_subdirectory(telephony)
|
|
add_subdirectory(mousepad)
|
|
add_subdirectory(sms)
|
|
add_subdirectory(runcommand)
|
|
if(NOT WIN32)
|
|
add_subdirectory(pausemusic)
|
|
add_subdirectory(screensaver-inhibit)
|
|
add_subdirectory(sftp)
|
|
endif()
|
|
|
|
if(Phonon4Qt5_FOUND)
|
|
add_subdirectory(findthisdevice)
|
|
endif()
|
|
endif()
|
|
|
|
if(SAILFISHOS OR EXPERIMENTALAPP_ENABLED)
|
|
add_subdirectory(remotecommands)
|
|
add_subdirectory(mprisremote)
|
|
add_subdirectory(remotecontrol)
|
|
add_subdirectory(lockdevice)
|
|
add_subdirectory(remotesystemvolume)
|
|
endif()
|
|
|
|
if(KF5PulseAudioQt_FOUND OR WIN32)
|
|
add_subdirectory(systemvolume)
|
|
endif()
|
|
|
|
|
|
#FIXME: If we split notifications in several files, they won't appear in the same group in the Notifications KCM
|
|
install(FILES kdeconnect.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR})
|