Revision ca7071c...

Go back to digest for 18th March 2012

Other in KDE Base

Dario Freddi committed changes in [kdelibs/frameworks] /kauth/src:

kauth-api-changes: Allow only asynchronous execution, remove ActionWatcher, and introduce the new ExecuteJob.

With these changes, now only async executions are allowed with a KJob-style asynchronous operation.
This relieves the pain from the backends to handle different methods (one can always suppose we're in an asynchronous realm),
and at the same time "hides" ActionReply from the client implementation.

Now all the relevant information for the client are advertised through the Job itself. ActionReply is still here to stay
since its serialization features are vital for the helper, and because we don't want to break the API too much.

File Changes

Added 2 files
  • /kauth/src
  •   staging/kauthexecutejob.cpp
  •   staging/kauthexecutejob.h
Deleted 2 files
  • /kauth/src
  •   staging/kauthactionwatcher.cpp
  •   staging/kauthactionwatcher.h
Modified 8 files
  • /kauth/src
  •   staging/CMakeLists.txt
  •   staging/HelperProxy.h
  •   staging/kauthaction.cpp
  •   staging/kauthaction.h
  •   staging/backends/dbus/DBusHelperProxy.cpp
  •   staging/backends/dbus/DBusHelperProxy.h
  •   staging/backends/fakehelper/FakeHelperProxy.cpp
  •   staging/backends/fakehelper/FakeHelperProxy.h
12 files changed in total