From kde-core-devel Tue Aug 23 06:10:16 2011 From: "Aaron J. Seigo" Date: Tue, 23 Aug 2011 06:10:16 +0000 To: kde-core-devel Subject: Re: systemd and KDE (was: Re: kdeinit) Message-Id: <21206538.40ulrzospH () freedom> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=131407983929451 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart50553234.fReEdrNh4U" --nextPart50553234.fReEdrNh4U Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="ISO-8859-1" On Sunday, August 21, 2011 17:59:33 Stefan Majewsky wrote: > unit? There's an proof-of-conceptdataengine in the repo [1], but the subject > is in need of someone whoknows his way around Plasma dataengines and once the unitAdded/unitRemoved signals are added to QsdManager, then those can easily be hooked up in the engine. is there a way to get notified from systemd when a unit changes activation or load state? because those would also be useful in the engine, obviously. with those in place, there really isn't much more needed in the engine: there are no dynamic sources (they are all push-published by systemd; so no sourceRequestEvent implementation is needed) and polling makes no sense (so updateSourceEvent is unecessary to implement) the only thing that might be interesting is to provide a serviceForSource implementation that allows interacting with a unit, if a user is able to do anything useful (such as activate/deactive a unit?). i'm not sure that's possible though; if not then a Service is also unecessary. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks --nextPart50553234.fReEdrNh4U Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEABECAAYFAk5TREgACgkQ1rcusafx20NhcACfdxwUSNL2ucfNXRlvL4VcM89f 5x8An1dt+S46ECYdeTOaKuksP4s/IDUH =Qzf6 -----END PGP SIGNATURE----- --nextPart50553234.fReEdrNh4U--