35237aadcb
Two new interfaces are introduced: * org.kde.kwin.Compositing * org.kde.kwin.Effects The Compositing interface is generated from scriptable elements on the KWin::Compositor class and the Compositor is exported as /Compositor. It provides the general Compositing related D-Bus methods like whether the compositor is active and toggling and so on. The Effects interface is generated from scriptable elements on the KWin::EffectsHandlerImpl class and the instance is exported as /Effects. It provides all the effects related D-Bus methods like loading an effect or the list of all effects. This removes the need to have all these methods provided on the global org.kde.KWin interface. For backwards compatibility they are kept, but no longer provided by the Workspace class. Instead a new DBusInterface is generated which wrapps the calls and delegates it to one of our three related Singleton objects: * Workspace * Compositor * EffectsHandlerImpl
34 lines
1.3 KiB
XML
34 lines
1.3 KiB
XML
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
|
<node>
|
|
<interface name="org.kde.kwin.Effects">
|
|
<property name="activeEffects" type="as" access="read"/>
|
|
<property name="loadedEffects" type="as" access="read"/>
|
|
<property name="listOfEffects" type="as" access="read"/>
|
|
<method name="reconfigureEffect">
|
|
<arg name="name" type="s" direction="in"/>
|
|
</method>
|
|
<method name="loadEffect">
|
|
<arg type="b" direction="out"/>
|
|
<arg name="name" type="s" direction="in"/>
|
|
<arg name="checkDefault" type="b" direction="in"/>
|
|
</method>
|
|
<method name="loadEffect">
|
|
<arg type="b" direction="out"/>
|
|
<arg name="name" type="s" direction="in"/>
|
|
</method>
|
|
<method name="toggleEffect">
|
|
<arg name="name" type="s" direction="in"/>
|
|
</method>
|
|
<method name="unloadEffect">
|
|
<arg name="name" type="s" direction="in"/>
|
|
</method>
|
|
<method name="isEffectLoaded">
|
|
<arg type="b" direction="out"/>
|
|
<arg name="name" type="s" direction="in"/>
|
|
</method>
|
|
<method name="supportInformation">
|
|
<arg type="s" direction="out"/>
|
|
<arg name="name" type="s" direction="in"/>
|
|
</method>
|
|
</interface>
|
|
</node>
|