Changeset 28f8a57 in FSO GLib Bindings (Vala-based C)
- Timestamp:
- 05/06/09 14:34:22 (4 years ago)
- Branches:
- 44445b4dd959b7dd398c6ccc191ac887d441358a, 0.11, dbus-glib, gdbus, morphis/pending, 576a070a71c495f2098a72aa137eb6dd5983d5f9, old-master
- Children:
- 9cca6ed
- Parents:
- a419e92
- git-author:
- Didier 'Ptitjes <ptitjes@…> (05/06/09 14:34:22)
- git-committer:
- Didier 'Ptitjes <ptitjes@…> (05/06/09 14:34:22)
- File:
-
- 1 edited
-
src/freesmartphone-device.vala (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/freesmartphone-device.vala
ra419e92 r28f8a57 12 12 13 13 public signal void event(string name, string action, int seconds); 14 } 15 16 [DBus (use_string_marshalling = true)] 17 public enum PowerStatus { 18 [DBus (value="charging")] 19 CHARGING, 20 [DBus (value="discharging")] 21 DISCHARGING, 22 [DBus (value="full")] 23 FULL, 24 [DBus (value="empty")] 25 EMPTY, 26 [DBus (value="critical")] 27 CRITICAL, 14 28 } 15 29 … … 51 65 public abstract int get_capacity() throws DBus.Error; 52 66 53 public abstract stringget_power_status() throws DBus.Error;67 public abstract FreeSmartphone.Device.PowerStatus get_power_status() throws DBus.Error; 54 68 55 public signal void power_status( stringstatus);69 public signal void power_status(FreeSmartphone.Device.PowerStatus status); 56 70 57 71 public signal void capacity(int energy);
Note: See TracChangeset
for help on using the changeset viewer.
