diff options
Diffstat (limited to 'src/remote-logon-service.vala')
-rw-r--r-- | src/remote-logon-service.vala | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/remote-logon-service.vala b/src/remote-logon-service.vala index f0bfa7d..94bf5b9 100644 --- a/src/remote-logon-service.vala +++ b/src/remote-logon-service.vala @@ -2,6 +2,7 @@ * * Copyright (C) 2012 Canonical Ltd * Copyright (C) 2015-2016 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> + * Copyright (C) 2023 Robert Tari <robert@tari.in> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as @@ -44,10 +45,10 @@ protected struct RemoteServer [DBus (name = "org.ArcticaProject.RemoteLogon")] interface RemoteLogonService : Object { - public abstract async void get_servers (out RemoteServer[] serverList) throws IOError; - public abstract async void get_servers_for_login (string url, string emailAddress, string password, bool allowCache, out bool loginSuccess, out string dataType, out RemoteServer[] serverList) throws IOError; - public abstract async void get_cached_domains_for_server (string url, out string[] domains) throws IOError; - public abstract async void set_last_used_server (string uccsUrl, string serverUrl) throws IOError; + public abstract async void get_servers (out RemoteServer[] serverList) throws GLib.DBusError, GLib.IOError; + public abstract async void get_servers_for_login (string url, string emailAddress, string password, bool allowCache, out bool loginSuccess, out string dataType, out RemoteServer[] serverList) throws GLib.DBusError, GLib.IOError; + public abstract async void get_cached_domains_for_server (string url, out string[] domains) throws GLib.DBusError, GLib.IOError; + public abstract async void set_last_used_server (string uccsUrl, string serverUrl) throws GLib.DBusError, GLib.IOError; public signal void servers_updated (RemoteServer[] serverList); public signal void login_servers_updated (string url, string emailAddress, string dataType, RemoteServer[] serverList); |