|
@ -30,7 +30,6 @@ class DeviceDBusProxy : Object { |
|
|
} |
|
|
} |
|
|
private set { |
|
|
private set { |
|
|
} |
|
|
} |
|
|
default = ""; |
|
|
|
|
|
} |
|
|
} |
|
|
public string name { |
|
|
public string name { |
|
|
get { |
|
|
get { |
|
@ -38,7 +37,6 @@ class DeviceDBusProxy : Object { |
|
|
} |
|
|
} |
|
|
private set { |
|
|
private set { |
|
|
} |
|
|
} |
|
|
default = ""; |
|
|
|
|
|
} |
|
|
} |
|
|
public string device_type { |
|
|
public string device_type { |
|
|
get { |
|
|
get { |
|
@ -46,7 +44,6 @@ class DeviceDBusProxy : Object { |
|
|
} |
|
|
} |
|
|
private set { |
|
|
private set { |
|
|
} |
|
|
} |
|
|
default = ""; |
|
|
|
|
|
} |
|
|
} |
|
|
public uint protocol_version { |
|
|
public uint protocol_version { |
|
|
get { |
|
|
get { |
|
@ -54,7 +51,6 @@ class DeviceDBusProxy : Object { |
|
|
} |
|
|
} |
|
|
private set { |
|
|
private set { |
|
|
} |
|
|
} |
|
|
default = 5; |
|
|
|
|
|
} |
|
|
} |
|
|
public string address { |
|
|
public string address { |
|
|
get; private set; default = ""; |
|
|
get; private set; default = ""; |
|
@ -66,7 +62,6 @@ class DeviceDBusProxy : Object { |
|
|
} |
|
|
} |
|
|
private set { |
|
|
private set { |
|
|
} |
|
|
} |
|
|
default = false; |
|
|
|
|
|
} |
|
|
} |
|
|
public bool allowed { |
|
|
public bool allowed { |
|
|
get { |
|
|
get { |
|
@ -74,7 +69,6 @@ class DeviceDBusProxy : Object { |
|
|
} |
|
|
} |
|
|
private set { |
|
|
private set { |
|
|
} |
|
|
} |
|
|
default = false; |
|
|
|
|
|
} |
|
|
} |
|
|
public bool is_active { |
|
|
public bool is_active { |
|
|
get { |
|
|
get { |
|
@ -82,10 +76,9 @@ class DeviceDBusProxy : Object { |
|
|
} |
|
|
} |
|
|
private set { |
|
|
private set { |
|
|
} |
|
|
} |
|
|
default = false; |
|
|
|
|
|
} |
|
|
} |
|
|
public bool is_connected { |
|
|
public bool is_connected { |
|
|
get; private set; default = false; |
|
|
|
|
|
|
|
|
get; private set; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public string[] incoming_capabilities { |
|
|
public string[] incoming_capabilities { |
|
@ -268,7 +261,7 @@ class DeviceDBusProxy : Object { |
|
|
[DBus (visible = false)] |
|
|
[DBus (visible = false)] |
|
|
public void bus_register_handler (DBusConnection conn, |
|
|
public void bus_register_handler (DBusConnection conn, |
|
|
string cap, |
|
|
string cap, |
|
|
PacketHandlerInterfaceProxy handler) { |
|
|
|
|
|
|
|
|
PacketHandlerInterfaceProxy handler) throws Error { |
|
|
|
|
|
|
|
|
handler.bus_register (conn, this.object_path); |
|
|
handler.bus_register (conn, this.object_path); |
|
|
this.handlers.@set (cap, handler); |
|
|
this.handlers.@set (cap, handler); |
|
@ -276,7 +269,7 @@ class DeviceDBusProxy : Object { |
|
|
|
|
|
|
|
|
[DBus (visible = false)] |
|
|
[DBus (visible = false)] |
|
|
public void bus_unregister_handler (DBusConnection conn, |
|
|
public void bus_unregister_handler (DBusConnection conn, |
|
|
string cap) { |
|
|
|
|
|
|
|
|
string cap) throws Error { |
|
|
PacketHandlerInterfaceProxy handler; |
|
|
PacketHandlerInterfaceProxy handler; |
|
|
|
|
|
|
|
|
this.handlers.@unset (cap, out handler); |
|
|
this.handlers.@unset (cap, out handler); |
|
@ -284,4 +277,4 @@ class DeviceDBusProxy : Object { |
|
|
handler.bus_unregister (conn); |
|
|
handler.bus_unregister (conn); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |