kdeconnect-kde/plugins/sftp
Adam Pigg ebc316f703 Add a method for creating simple notifications
Summary:
Add a helper function to the daemon interface, which must be subclassed
by the implementations, which creates a simple notification.

For more complex needs, involving interacting with the notification, it
will still be nescessary to use KNotification directly, but this allows
for other future implementations to create a simple notification without
ifdef'ing the code.

Reviewers: kdeconnect, apol

Reviewed By: apol

Subscribers: kdeconnect

Differential Revision: https://phabricator.kde.org/D11104
2018-03-18 12:52:22 +01:00
..
CMakeLists.txt Clean-up requirements: cmake 3.0, qt 5.7, use min versions, deduplicate KF5 2018-03-17 23:34:33 +01:00
config-sftp.h.cmake Add support for the normal 'umount' porgram. 2017-09-05 22:25:01 +02:00
kdeconnect_sftp.json Remove unused "Encoding": "UTF-8" from plugins' metadata JSON 2018-03-17 23:32:27 +01:00
mounter.cpp Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
mounter.h Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
mountloop.cpp Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +02:00
mountloop.h Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +02:00
README Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +02:00
sftp_debug.h Fix various krazy2 warnings 2015-08-21 22:38:54 +06:00
sftpplugin.cpp Rename NetworkPackage -> NetworkPacket 2018-03-05 20:03:23 +01:00
sftpplugin.h Add a method for creating simple notifications 2018-03-18 12:52:22 +01:00

This plugins receives packages with type "kdeconnect.sftp" and reads the
following fields:

ip (string): ip of the curretly active network on device
port (string): port where sftp server starts
user (string): username to connect to sftp server
password (string): one session password to access sftp server
path (string): root directory to access device filesystem

This plugins sends packages with type "kdeconnect.sftp" and fills the
following fields:

startBrowsing (boolean): tell device to start sftp server and noify desktop