Commit graph

23 commits

Author SHA1 Message Date
Albert Vaca
87141a344c Added loadedPlugins() method to Device
The method is exported to dbus
2013-08-18 20:27:25 +02:00
Albert Vaca
0eb3f019c9 Minor changes 2013-08-16 09:27:32 +02:00
Albert Vaca
907740196a Removed onConnectionLost from DeviceLinkProvider
(Connect to destroyed on DeviceLink instead)
Also, registering Device in dbus too soon fixed
2013-08-16 06:26:40 +02:00
Albert Vaca
f194ab9a52 Plugins are not loaded until a device is reachable 2013-08-16 01:01:58 +02:00
Albert Vaca
0f38eb34a4 Fixed crash: OMG QDbusAdaptors can not be removed!
Added a fixme for future reference
reloadPlugins() now recycles plugins already present
Lots of debug messages and minor changes added trying to fix the bug
2013-08-14 01:35:12 +02:00
Albert Vaca
238d81a408 Changing dbus interface to improve communication with kcm and the solid backend 2013-08-13 23:23:32 +02:00
Albert Vaca
8c3056a286 Oops fixed crash introduced in previous commit 2013-08-13 06:03:12 +02:00
Albert Vaca
ac7f4d0618 Disable sending packages to untrusted devices 2013-08-13 05:40:39 +02:00
Albert Vaca
c9e67f3cf0 Support for X-KDE-PluginInfo-EnabledByDefault 2013-08-13 05:37:36 +02:00
Albert Vaca
37de0654df Rename PackageInterface -> Plugin 2013-08-13 05:14:46 +02:00
Albert Vaca
88fab1f333 Plugins are now owned by devices and not by daemon
Plugins can no longer emit networkpackages for *every* device.
Plugins are stored in device, wich selectively loads them.
A Device is needed in order to instantiate a Plugin (via PluginLoader)
PluginLoader is a singleton, because every instance of Device need it.
Added KPluginSelector in the KCM to select the plugins to load.
Added architecture explanation to README

Only PingPlugin is working by now.
2013-08-13 05:07:32 +02:00
Albert Vaca
9b7eecc69d Moved plugins into separate folders and added KServiceTypeTrader 2013-08-12 16:09:52 +02:00
Albert Vaca
9022823aef Improved MPRIS controls.
MPRIS now uses xml dbus interfaces-
MPRIS now detects when properties like volume or playbas status change.
Link providers now emit connectionLost and connectionReceived, like in Android.
Disabled connection notifications.
Added some missing const modifiers.
2013-08-10 05:21:55 +02:00
Albert Vaca
0336ae75de Bugfixing 2013-08-07 13:40:39 +02:00
Albert Vaca
3eb6ecaa3f Implemented batterypackageinterface
Fixed CMake macro
2013-07-28 22:00:45 +02:00
Albert Vaca
43932a4300 Added battery reporting via dbus interface 2013-07-26 16:21:19 +02:00
Albert Vaca
54de8fa2fa Android: Uses Apache Mina to abstract socket management
KDE: Housekeeping
2013-07-24 18:42:33 +02:00
Albert Vaca
7ef29fdd69 Implemented bi-directional communication using tcp. 2013-07-23 16:11:54 +02:00
Albert Vaca
acadeef76d Rewritten old package emitters and receivers using the new package format
Splitted up ping receiver from notification receiver in KDE
Improved pausemusic receiver
Fixed same computer being discovered multiple times
Fixed some other minor bugs and compilation warnings
2013-07-04 19:17:22 +02:00
Albert Vaca
b1e4e2d836 New networkpackage format and serialization using qjson and qvariantmap (and templates fun) 2013-07-04 01:09:49 +02:00
Albert Vaca
975892dcd0 Yet another refactor, mostly moving code from from daemon class to device class
Device now has a public dbus interface
Removed wizard from kcm: now the main list shows all the devices and you can pair/unpair using a checkbox
Both Kde and Android now use unique device ids
2013-07-03 03:52:44 +02:00
Albert Vaca
5fbd33e8c5 Implemented communication wizard -> kcm
Renamed androidshine -> kdeconnect
2013-07-02 01:50:32 +02:00
Albert Vaca
55eacba63b Dbus interface work in progress 2013-06-25 18:06:51 +02:00