Basic DBUS Interfaces

This commit is contained in:
Florian RICHER 2025-04-20 17:09:27 +02:00
parent 149b747dce
commit 515b5f946b
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77

View file

@ -0,0 +1,37 @@
<!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="fr.mrdev023.AIProxy">
<method name="AddProvider">
<arg name="Name" direction="in" type="s"/>
<arg name="BaseURL" direction="in" type="s"/>
<arg name="APIKey" direction="in" type="s"/>
<arg name="Provider" direction="out" type="o"/>
</method>
<method name="RemoveProvider">
<arg name="Provider" direction="in" type="o"/>
</method>
<method name="GetProviders">
<arg name="Providers" direction="out" type="ao"/>
</method>
<method name="GetModels">
<arg name="Models" direction="out" type="ao"/>
</method>
</interface>
<interface name="fr.mrdev023.AIProxy.Provider">
<property name="Name" type="s" access="readwrite"/>
<property name="BaseURL" type="s" access="readwrite"/>
<property name="APIKey" type="s" access="readwrite"/>
</interface>
<interface name="fr.mrdev023.AIProxy.Model">
<property name="Name" type="s" access="read"/>
<property name="Provider" type="o" access="read"/>
<property name="Loaded" type="b" access="read"/>
<property name="HasToolSupport" type="b" access="read"/>
</interface>
</node>