Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Changeset e3caf7d in FSO GLib Bindings (Vala-based C)


Ignore:
Timestamp:
07/16/09 16:14:35 (4 years ago)
Author:
Michael 'Mickey' Lauer <mickey@…>
Branches:
44445b4dd959b7dd398c6ccc191ac887d441358a, 0.11, dbus-glib, gdbus, morphis/pending, 576a070a71c495f2098a72aa137eb6dd5983d5f9, old-master
Children:
8da3ff3
Parents:
cdd5d12
git-author:
Michael 'Mickey' Lauer <mickey@…> (07/16/09 16:14:35)
git-committer:
Michael 'Mickey' Lauer <mickey@…> (07/16/09 16:14:35)
Message:

regenerate

Location:
src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/freesmartphone-device.vala

    r9289ef2 re3caf7d  
    2626                } 
    2727 
     28                [DBus (use_string_marshalling = true)] 
     29                public enum SoundState { 
     30                        [DBus (value="playing")] 
     31                        PLAYING, 
     32                        [DBus (value="stopped")] 
     33                        STOPPED, 
     34                } 
     35 
     36                [DBus (use_string_marshalling = true)] 
     37                public enum IdleState { 
     38                        [DBus (value="busy")] 
     39                        BUSY, 
     40                        [DBus (value="idle")] 
     41                        IDLE, 
     42                        [DBus (value="idle_dim")] 
     43                        IDLE_DIM, 
     44                        [DBus (value="idle_prelock")] 
     45                        IDLE_PRELOCK, 
     46                        [DBus (value="lock")] 
     47                        LOCK, 
     48                        [DBus (value="suspend")] 
     49                        SUSPEND, 
     50                        [DBus (value="awake")] 
     51                        AWAKE, 
     52                } 
     53 
    2854                [DBus (name = "org.freesmartphone.Device.Input")] 
    2955                public interface Input : GLib.Object { 
    3056 
    31                         public abstract string get_id() throws DBus.Error; 
    32  
    33                         public abstract string get_capabilities() throws DBus.Error; 
     57                        public abstract string get_id() yields throws DBus.Error; 
     58 
     59                        public abstract string get_capabilities() yields throws DBus.Error; 
    3460 
    3561                        public signal void event(string name, FreeSmartphone.Device.InputState action, int seconds); 
     
    6086                } 
    6187 
    62                 [DBus (use_string_marshalling = true)] 
    63                 public enum SoundState { 
    64                         [DBus (value="playing")] 
    65                         PLAYING, 
    66                         [DBus (value="stopped")] 
    67                         STOPPED, 
    68                 } 
    69  
    70                 [DBus (use_string_marshalling = true)] 
    71                 public enum IdleState { 
    72                         [DBus (value="busy")] 
    73                         BUSY, 
    74                         [DBus (value="idle")] 
    75                         IDLE, 
    76                         [DBus (value="idle_dim")] 
    77                         IDLE_DIM, 
    78                         [DBus (value="idle_prelock")] 
    79                         IDLE_PRELOCK, 
    80                         [DBus (value="lock")] 
    81                         LOCK, 
    82                         [DBus (value="suspend")] 
    83                         SUSPEND, 
    84                         [DBus (value="awake")] 
    85                         AWAKE, 
    86                 } 
    87  
    8888                [DBus (name = "org.freesmartphone.Device.LED")] 
    8989                public interface LED : GLib.Object { 
    9090 
    91                         public abstract void set_brightness(int brightness) throws DBus.Error; 
    92  
    93                         public abstract void set_blinking(int on_duration, int off_duration) throws FreeSmartphone.Error, DBus.Error; 
    94  
    95                         public abstract void blink_seconds(int seconds, int on_duration, int off_duration) throws FreeSmartphone.Error, DBus.Error; 
    96  
    97                         public abstract void set_networking(string interface, string mode) throws FreeSmartphone.Error, DBus.Error; 
    98                 } 
    99  
    100                 [DBus (name = "org.freesmartphone.Device.PowerControl")] 
    101                 public interface PowerControl : GLib.Object { 
    102  
    103                         public abstract bool get_power() throws DBus.Error; 
    104  
    105                         public abstract void set_power(bool on) throws DBus.Error; 
    106  
    107                         public signal void power(bool on); 
     91                        public abstract void set_brightness(int brightness) yields throws DBus.Error; 
     92 
     93                        public abstract void set_blinking(int on_duration, int off_duration) yields throws FreeSmartphone.Error, DBus.Error; 
     94 
     95                        public abstract void blink_seconds(int seconds, int on_duration, int off_duration) yields throws FreeSmartphone.Error, DBus.Error; 
     96 
     97                        public abstract void set_networking(string interface, string mode) yields throws FreeSmartphone.Error, DBus.Error; 
     98                } 
     99 
     100                [DBus (name = "org.freesmartphone.Device.Info")] 
     101                public interface Info : GLib.Object { 
     102 
     103                        public abstract GLib.HashTable<string, GLib.Value?> get_cpu_info() yields throws DBus.Error; 
    108104                } 
    109105 
     
    118114                } 
    119115 
     116                [DBus (name = "org.freesmartphone.Device.PowerControl")] 
     117                public interface PowerControl : GLib.Object { 
     118 
     119                        public abstract bool get_power() yields throws DBus.Error; 
     120 
     121                        public abstract void set_power(bool on) yields throws DBus.Error; 
     122 
     123                        public signal void power(bool on); 
     124                } 
     125 
    120126                [DBus (name = "org.freesmartphone.Device.PowerSupply")] 
    121127                public interface PowerSupply : GLib.Object { 
     
    132138                } 
    133139 
    134                 [DBus (name = "org.freesmartphone.Device.Info")] 
    135                 public interface Info : GLib.Object { 
    136  
    137                         public abstract GLib.HashTable<string, GLib.Value?> get_cpu_info() throws DBus.Error; 
    138                 } 
    139  
    140140                [DBus (name = "org.freesmartphone.Device.Display")] 
    141141                public interface Display : GLib.Object { 
    142142 
    143                         public abstract GLib.HashTable<string, GLib.Value?> get_info() throws DBus.Error; 
    144  
    145                         public abstract int get_brightness() throws DBus.Error; 
    146  
    147                         public abstract void set_brightness(int brightness) throws DBus.Error; 
    148  
    149                         public abstract bool get_backlight_power() throws DBus.Error; 
    150  
    151                         public abstract void set_backlight_power(bool power) throws DBus.Error; 
     143                        public abstract GLib.HashTable<string, GLib.Value?> get_info() yields throws DBus.Error; 
     144 
     145                        public abstract int get_brightness() yields throws DBus.Error; 
     146 
     147                        public abstract void set_brightness(int brightness) yields throws DBus.Error; 
     148 
     149                        public abstract bool get_backlight_power() yields throws DBus.Error; 
     150 
     151                        public abstract void set_backlight_power(bool power) yields throws DBus.Error; 
    152152                } 
    153153 
     
    155155                public interface RealtimeClock : GLib.Object { 
    156156 
    157                         public abstract int get_current_time() throws FreeSmartphone.Error, DBus.Error; 
    158  
    159                         public abstract void set_current_time(int time) throws FreeSmartphone.Error, DBus.Error; 
    160  
    161                         public abstract int get_wakeup_time() throws FreeSmartphone.Error, DBus.Error; 
    162  
    163                         public abstract void set_wakeup_time(int time) throws FreeSmartphone.Error, DBus.Error; 
     157                        public abstract int get_current_time() yields throws FreeSmartphone.Error, DBus.Error; 
     158 
     159                        public abstract void set_current_time(int time) yields throws FreeSmartphone.Error, DBus.Error; 
     160 
     161                        public abstract int get_wakeup_time() yields throws FreeSmartphone.Error, DBus.Error; 
     162 
     163                        public abstract void set_wakeup_time(int time) yields throws FreeSmartphone.Error, DBus.Error; 
    164164                } 
    165165 
     
    167167                public interface Audio : GLib.Object { 
    168168 
    169                         public abstract GLib.HashTable<string, GLib.Value?> get_info() throws DBus.Error; 
    170  
    171                         public abstract string[] get_supported_formats() throws DBus.Error; 
    172  
    173                         public abstract string[] get_available_scenarios() throws DBus.Error; 
    174  
    175                         public abstract void play_sound(string name, int loop, int length) throws FreeSmartphone.Device.AudioError, DBus.Error; 
    176  
    177                         public abstract void stop_sound(string name) throws DBus.Error; 
    178  
    179                         public abstract void stop_all_sounds() throws DBus.Error; 
     169                        public abstract GLib.HashTable<string, GLib.Value?> get_info() yields throws DBus.Error; 
     170 
     171                        public abstract string[] get_supported_formats() yields throws DBus.Error; 
     172 
     173                        public abstract string[] get_available_scenarios() yields throws DBus.Error; 
     174 
     175                        public abstract void play_sound(string name, int loop, int length) yields throws FreeSmartphone.Device.AudioError, DBus.Error; 
     176 
     177                        public abstract void stop_sound(string name) yields throws DBus.Error; 
     178 
     179                        public abstract void stop_all_sounds() yields throws DBus.Error; 
    180180 
    181181                        public signal void sound_status(string id, FreeSmartphone.Device.SoundState status, GLib.HashTable<string, GLib.Value?> properties); 
     
    195195                public interface IdleNotifier : GLib.Object { 
    196196 
    197                         public abstract FreeSmartphone.Device.IdleState get_state() throws DBus.Error; 
    198  
    199                         public abstract GLib.HashTable<string, int> get_timeouts() throws DBus.Error; 
    200  
    201                         public abstract void set_timeout(FreeSmartphone.Device.IdleState status, int timeout) throws DBus.Error; 
    202  
    203                         public abstract void set_state(FreeSmartphone.Device.IdleState status) throws DBus.Error; 
     197                        public abstract FreeSmartphone.Device.IdleState get_state() yields throws DBus.Error; 
     198 
     199                        public abstract GLib.HashTable<string, int> get_timeouts() yields throws DBus.Error; 
     200 
     201                        public abstract void set_timeout(FreeSmartphone.Device.IdleState status, int timeout) yields throws DBus.Error; 
     202 
     203                        public abstract void set_state(FreeSmartphone.Device.IdleState status) yields throws DBus.Error; 
    204204 
    205205                        public signal void state(FreeSmartphone.Device.IdleState status); 
  • src/freesmartphone-gsm.vala

    r9289ef2 re3caf7d  
    1111                public interface PDP : GLib.Object { 
    1212 
    13                         public abstract string[] list_gprs_classes() throws DBus.Error; 
    14  
    15                         public abstract string get_current_gprs_class() throws DBus.Error; 
    16  
    17                         public abstract void set_current_gprs_class(string device_class) throws DBus.Error; 
    18  
    19                         public abstract GLib.HashTable<string, GLib.Value?> get_network_status() throws DBus.Error; 
     13                        public abstract string[] list_gprs_classes() yields throws DBus.Error; 
     14 
     15                        public abstract string get_current_gprs_class() yields throws DBus.Error; 
     16 
     17                        public abstract void set_current_gprs_class(string device_class) yields throws DBus.Error; 
     18 
     19                        public abstract GLib.HashTable<string, GLib.Value?> get_network_status() yields throws DBus.Error; 
    2020 
    2121                        public signal void network_status(GLib.HashTable<string, GLib.Value?> status); 
    2222 
    23                         public abstract int activate_context(string apn, string username, string password) throws DBus.Error; 
    24  
    25                         public abstract void deactivate_context(int index) throws DBus.Error; 
    26  
    27                         public abstract string get_context_status(int index) throws DBus.Error; 
     23                        public abstract int activate_context(string apn, string username, string password) yields throws DBus.Error; 
     24 
     25                        public abstract void deactivate_context(int index) yields throws DBus.Error; 
     26 
     27                        public abstract string get_context_status(int index) yields throws DBus.Error; 
    2828 
    2929                        public signal void context_status(int id, string status, GLib.HashTable<string, GLib.Value?> properties); 
     
    3333                public interface HZ : GLib.Object { 
    3434 
    35                         public abstract string[] get_known_home_zones() throws DBus.Error; 
    36  
    37                         public abstract string get_home_zone_status() throws DBus.Error; 
     35                        public abstract string[] get_known_home_zones() yields throws DBus.Error; 
     36 
     37                        public abstract string get_home_zone_status() yields throws DBus.Error; 
    3838 
    3939                        public signal void home_zone_status(string name); 
     
    5757                public interface Monitor : GLib.Object { 
    5858 
    59                         public abstract GLib.HashTable<string, GLib.Value?> get_serving_cell_information() throws DBus.Error; 
    60  
    61                         public abstract MonitorNeighbourCell[] get_neighbour_cell_information() throws DBus.Error; 
     59                        public abstract GLib.HashTable<string, GLib.Value?> get_serving_cell_information() yields throws DBus.Error; 
     60 
     61                        public abstract MonitorNeighbourCell[] get_neighbour_cell_information() yields throws DBus.Error; 
    6262                } 
    6363 
     
    9191                public interface MUX : GLib.Object { 
    9292 
    93                         public abstract void open_session(bool advanced, int framesize, string portname, int portspeed) throws DBus.Error; 
    94  
    95                         public abstract void close_session() throws DBus.Error; 
    96  
    97                         public abstract void alloc_channel(string origin, int channel, out string path, out int allocated_channel) throws DBus.Error; 
    98  
    99                         public abstract void release_channel(string origin) throws DBus.Error; 
    100  
    101                         public abstract void set_status(int channel, string status) throws DBus.Error; 
     93                        public abstract void open_session(bool advanced, int framesize, string portname, int portspeed) yields throws DBus.Error; 
     94 
     95                        public abstract void close_session() yields throws DBus.Error; 
     96 
     97                        public abstract void alloc_channel(string origin, int channel, out string path, out int allocated_channel) yields throws DBus.Error; 
     98 
     99                        public abstract void release_channel(string origin) yields throws DBus.Error; 
     100 
     101                        public abstract void set_status(int channel, string status) yields throws DBus.Error; 
    102102 
    103103                        public signal void status(string status); 
     
    107107                public interface Device : GLib.Object { 
    108108 
    109                         public abstract GLib.HashTable<string, GLib.Value?> get_info() throws DBus.Error; 
    110  
    111                         public abstract bool get_antenna_power() throws DBus.Error; 
    112  
    113                         public abstract void set_antenna_power(bool antenna_power) throws DBus.Error; 
    114  
    115                         public abstract GLib.HashTable<string, GLib.Value?> get_features() throws DBus.Error; 
    116  
    117                         public abstract int get_speaker_volume() throws DBus.Error; 
    118  
    119                         public abstract void set_speaker_volume(int volume) throws DBus.Error; 
    120  
    121                         public abstract bool get_microphone_muted() throws DBus.Error; 
    122  
    123                         public abstract void set_microphone_muted(bool muted) throws DBus.Error; 
    124  
    125                         public abstract void get_power_status(out string status, out int level) throws DBus.Error; 
     109                        public abstract GLib.HashTable<string, GLib.Value?> get_info() yields throws DBus.Error; 
     110 
     111                        public abstract bool get_antenna_power() yields throws DBus.Error; 
     112 
     113                        public abstract void set_antenna_power(bool antenna_power) yields throws DBus.Error; 
     114 
     115                        public abstract GLib.HashTable<string, GLib.Value?> get_features() yields throws DBus.Error; 
     116 
     117                        public abstract int get_speaker_volume() yields throws DBus.Error; 
     118 
     119                        public abstract void set_speaker_volume(int volume) yields throws DBus.Error; 
     120 
     121                        public abstract bool get_microphone_muted() yields throws DBus.Error; 
     122 
     123                        public abstract void set_microphone_muted(bool muted) yields throws DBus.Error; 
     124 
     125                        public abstract void get_power_status(out string status, out int level) yields throws DBus.Error; 
    126126 
    127127                        public signal void keypad_event(string name, bool pressed); 
    128128 
    129                         public abstract bool get_sim_buffers_sms() throws DBus.Error; 
    130  
    131                         public abstract void set_sim_buffers_sms(bool sim_buffers_sms) throws DBus.Error; 
     129                        public abstract bool get_sim_buffers_sms() yields throws DBus.Error; 
     130 
     131                        public abstract void set_sim_buffers_sms(bool sim_buffers_sms) yields throws DBus.Error; 
     132                } 
     133 
     134                [DBus (name = "org.freesmartphone.GSM.Call")] 
     135                public interface Call : GLib.Object { 
     136 
     137                        public abstract void emergency(string number) yields throws FreeSmartphone.GSM.CallError, DBus.Error; 
     138 
     139                        public signal void call_status(int id, FreeSmartphone.GSM.CallStatus status, GLib.HashTable<string, GLib.Value?> properties); 
     140 
     141                        public abstract void activate(int id) yields throws FreeSmartphone.GSM.CallError, DBus.Error; 
     142 
     143                        public abstract void activate_conference(int id) yields throws FreeSmartphone.GSM.CallError, DBus.Error; 
     144 
     145                        public abstract void release(int id) yields throws FreeSmartphone.GSM.CallError, DBus.Error; 
     146 
     147                        public abstract void hold_active() yields throws DBus.Error; 
     148 
     149                        public abstract void join() yields throws DBus.Error; 
     150 
     151                        public abstract void transfer(string number) yields throws DBus.Error; 
     152 
     153                        public abstract void release_held() yields throws DBus.Error; 
     154 
     155                        public abstract void release_all() yields throws DBus.Error; 
     156 
     157                        public abstract int initiate(string number, string type) yields throws FreeSmartphone.GSM.CallError, DBus.Error; 
     158 
     159                        public abstract CallDetail[] list_calls() yields throws DBus.Error; 
     160 
     161                        public abstract void send_dtmf(string tones) yields throws DBus.Error; 
    132162                } 
    133163 
     
    135165                public interface Network : GLib.Object { 
    136166 
    137                         public abstract void register_() throws DBus.Error; 
    138  
    139                         public abstract void unregister() throws DBus.Error; 
    140  
    141                         public abstract GLib.HashTable<string, GLib.Value?> get_status() throws DBus.Error; 
     167                        public abstract void register_() yields throws DBus.Error; 
     168 
     169                        public abstract void unregister() yields throws DBus.Error; 
     170 
     171                        public abstract GLib.HashTable<string, GLib.Value?> get_status() yields throws DBus.Error; 
    142172 
    143173                        public signal void status(GLib.HashTable<string, GLib.Value?> status); 
    144174 
    145                         public abstract int get_signal_strength() throws DBus.Error; 
     175                        public abstract int get_signal_strength() yields throws DBus.Error; 
    146176 
    147177                        public signal void signal_strength(int signal_strength); 
    148178 
    149                         public abstract NetworkProvider[] list_providers() throws DBus.Error; 
    150  
    151                         public abstract void register_with_provider(string operator_code) throws DBus.Error; 
    152  
    153                         public abstract void get_network_country_code(out string dial_code, out string country_name) throws DBus.Error; 
    154  
    155                         public abstract GLib.HashTable<string, GLib.Value?> get_call_forwarding(string reason) throws DBus.Error; 
    156  
    157                         public abstract void enable_call_forwarding(string reason, string class_, string number, int timeout) throws DBus.Error; 
    158  
    159                         public abstract void disable_call_forwarding(string reason, string class_) throws DBus.Error; 
    160  
    161                         public abstract void set_calling_identification(string visible) throws DBus.Error; 
    162  
    163                         public abstract string get_calling_identification() throws DBus.Error; 
    164  
    165                         public abstract void send_ussd_request(string request) throws DBus.Error; 
     179                        public abstract NetworkProvider[] list_providers() yields throws DBus.Error; 
     180 
     181                        public abstract void register_with_provider(string operator_code) yields throws DBus.Error; 
     182 
     183                        public abstract void get_network_country_code(out string dial_code, out string country_name) yields throws DBus.Error; 
     184 
     185                        public abstract GLib.HashTable<string, GLib.Value?> get_call_forwarding(string reason) yields throws DBus.Error; 
     186 
     187                        public abstract void enable_call_forwarding(string reason, string class_, string number, int timeout) yields throws DBus.Error; 
     188 
     189                        public abstract void disable_call_forwarding(string reason, string class_) yields throws DBus.Error; 
     190 
     191                        public abstract void set_calling_identification(string visible) yields throws DBus.Error; 
     192 
     193                        public abstract string get_calling_identification() yields throws DBus.Error; 
     194 
     195                        public abstract void send_ussd_request(string request) yields throws DBus.Error; 
    166196 
    167197                        public signal void incoming_ussd(string mode, string message_); 
     
    181211                public interface SMS : GLib.Object { 
    182212 
    183                         public abstract void send_message(string recipient_number, string contents, GLib.HashTable<string, GLib.Value?> properties, out int transaction_index, out string timestamp) throws DBus.Error; 
    184  
    185                         public abstract void ack_message(string contents, GLib.HashTable<string, GLib.Value?> properties) throws DBus.Error; 
    186  
    187                         public abstract void nack_message(string contents, GLib.HashTable<string, GLib.Value?> properties) throws DBus.Error; 
     213                        public abstract void send_message(string recipient_number, string contents, GLib.HashTable<string, GLib.Value?> properties, out int transaction_index, out string timestamp) yields throws DBus.Error; 
     214 
     215                        public abstract void ack_message(string contents, GLib.HashTable<string, GLib.Value?> properties) yields throws DBus.Error; 
     216 
     217                        public abstract void nack_message(string contents, GLib.HashTable<string, GLib.Value?> properties) yields throws DBus.Error; 
    188218 
    189219                        public signal void incoming_message(string sender_number, string contents, GLib.HashTable<string, GLib.Value?> properties); 
    190220 
    191221                        public signal void incoming_message_receipt(string sender_number, string contents, GLib.HashTable<string, GLib.Value?> properties); 
    192                 } 
    193  
    194                 [DBus (name = "org.freesmartphone.GSM.Call")] 
    195                 public interface Call : GLib.Object { 
    196  
    197                         public abstract void emergency(string number) throws FreeSmartphone.GSM.CallError, DBus.Error; 
    198  
    199                         public signal void call_status(int id, FreeSmartphone.GSM.CallStatus status, GLib.HashTable<string, GLib.Value?> properties); 
    200  
    201                         public abstract void activate(int id) throws FreeSmartphone.GSM.CallError, DBus.Error; 
    202  
    203                         public abstract void activate_conference(int id) throws FreeSmartphone.GSM.CallError, DBus.Error; 
    204  
    205                         public abstract void release(int id) throws FreeSmartphone.GSM.CallError, DBus.Error; 
    206  
    207                         public abstract void hold_active() throws DBus.Error; 
    208  
    209                         public abstract void join() throws DBus.Error; 
    210  
    211                         public abstract void transfer(string number) throws DBus.Error; 
    212  
    213                         public abstract void release_held() throws DBus.Error; 
    214  
    215                         public abstract void release_all() throws DBus.Error; 
    216  
    217                         public abstract int initiate(string number, string type) throws FreeSmartphone.GSM.CallError, DBus.Error; 
    218  
    219                         public abstract CallDetail[] list_calls() throws DBus.Error; 
    220  
    221                         public abstract void send_dtmf(string tones) throws DBus.Error; 
    222222                } 
    223223 
     
    225225                public interface CB : GLib.Object { 
    226226 
    227                         public abstract string get_cell_broadcast_subscriptions() throws DBus.Error; 
    228  
    229                         public abstract void set_cell_broadcast_subscriptions(string channels) throws DBus.Error; 
     227                        public abstract string get_cell_broadcast_subscriptions() yields throws DBus.Error; 
     228 
     229                        public abstract void set_cell_broadcast_subscriptions(string channels) yields throws DBus.Error; 
    230230 
    231231                        public signal void incoming_cell_broadcast(int serial, int channel, int encoding, int page, string data); 
     
    241241                public interface SIM : GLib.Object { 
    242242 
    243                         public abstract FreeSmartphone.GSM.SIMAuthStatus get_auth_status() throws DBus.Error; 
     243                        public abstract FreeSmartphone.GSM.SIMAuthStatus get_auth_status() yields throws DBus.Error; 
    244244 
    245245                        public signal void auth_status(FreeSmartphone.GSM.SIMAuthStatus status); 
    246246 
    247                         public abstract void send_auth_code(string pin) throws DBus.Error; 
    248  
    249                         public abstract void unlock(string puk, string new_pin) throws DBus.Error; 
    250  
    251                         public abstract void change_auth_code(string old_pin, string new_pin) throws DBus.Error; 
    252  
    253                         public abstract void set_auth_code_required(bool check, string pin) throws DBus.Error; 
    254  
    255                         public abstract bool get_auth_code_required() throws DBus.Error; 
    256  
    257                         public abstract bool get_sim_ready() throws DBus.Error; 
     247                        public abstract void send_auth_code(string pin) yields throws DBus.Error; 
     248 
     249                        public abstract void unlock(string puk, string new_pin) yields throws DBus.Error; 
     250 
     251                        public abstract void change_auth_code(string old_pin, string new_pin) yields throws DBus.Error; 
     252 
     253                        public abstract void set_auth_code_required(bool check, string pin) yields throws DBus.Error; 
     254 
     255                        public abstract bool get_auth_code_required() yields throws DBus.Error; 
     256 
     257                        public abstract bool get_sim_ready() yields throws DBus.Error; 
    258258 
    259259                        public signal void ready_status(bool status); 
    260260 
    261                         public abstract GLib.HashTable<string, GLib.Value?> get_sim_info() throws DBus.Error; 
    262  
    263                         public abstract string send_generic_sim_command(string command) throws DBus.Error; 
    264  
    265                         public abstract string send_restricted_sim_command(int command, int fileid, int p1, int p2, int p3, string data) throws DBus.Error; 
    266  
    267                         public abstract SIMHomezone[] get_home_zones() throws DBus.Error; 
    268  
    269                         public abstract string get_issuer() throws DBus.Error; 
    270  
    271                         public abstract GLib.HashTable<string, string> get_provider_list() throws DBus.Error; 
    272  
    273                         public abstract string[] list_phonebooks() throws DBus.Error; 
    274  
    275                         public abstract GLib.HashTable<string, GLib.Value?> get_phonebook_info(string category) throws DBus.Error; 
    276  
    277                         public abstract SIMEntry[] retrieve_phonebook(string category) throws DBus.Error; 
    278  
    279                         public abstract void delete_entry(string category, int index) throws DBus.Error; 
    280  
    281                         public abstract void store_entry(string category, int index, string name, string number) throws DBus.Error; 
    282  
    283                         public abstract void retrieve_entry(string category, int index, out string name, out string number) throws DBus.Error; 
    284  
    285                         public abstract GLib.HashTable<string, GLib.Value?> get_messagebook_info() throws DBus.Error; 
    286  
    287                         public abstract SIMMessage[] retrieve_messagebook(string category) throws DBus.Error; 
    288  
    289                         public abstract string get_service_center_number() throws DBus.Error; 
    290  
    291                         public abstract void set_service_center_number(string number) throws DBus.Error; 
     261                        public abstract GLib.HashTable<string, GLib.Value?> get_sim_info() yields throws DBus.Error; 
     262 
     263                        public abstract string send_generic_sim_command(string command) yields throws DBus.Error; 
     264 
     265                        public abstract string send_restricted_sim_command(int command, int fileid, int p1, int p2, int p3, string data) yields throws DBus.Error; 
     266 
     267                        public abstract SIMHomezone[] get_home_zones() yields throws DBus.Error; 
     268 
     269                        public abstract string get_issuer() yields throws DBus.Error; 
     270 
     271                        public abstract GLib.HashTable<string, string> get_provider_list() yields throws DBus.Error; 
     272 
     273                        public abstract string[] list_phonebooks() yields throws DBus.Error; 
     274 
     275                        public abstract GLib.HashTable<string, GLib.Value?> get_phonebook_info(string category) yields throws DBus.Error; 
     276 
     277                        public abstract SIMEntry[] retrieve_phonebook(string category) yields throws DBus.Error; 
     278 
     279                        public abstract void delete_entry(string category, int index) yields throws DBus.Error; 
     280 
     281                        public abstract void store_entry(string category, int index, string name, string number) yields throws DBus.Error; 
     282 
     283                        public abstract void retrieve_entry(string category, int index, out string name, out string number) yields throws DBus.Error; 
     284 
     285                        public abstract GLib.HashTable<string, GLib.Value?> get_messagebook_info() yields throws DBus.Error; 
     286 
     287                        public abstract SIMMessage[] retrieve_messagebook(string category) yields throws DBus.Error; 
     288 
     289                        public abstract string get_service_center_number() yields throws DBus.Error; 
     290 
     291                        public abstract void set_service_center_number(string number) yields throws DBus.Error; 
    292292 
    293293                        public signal void incoming_stored_message(int index); 
    294294 
    295                         public abstract void delete_message(int index) throws DBus.Error; 
    296  
    297                         public abstract int store_message(string recipient_number, string contents, GLib.HashTable<string, GLib.Value?> properties) throws DBus.Error; 
    298  
    299                         public abstract void send_stored_message(int index, out int transaction_index, out string timestamp) throws DBus.Error; 
    300  
    301                         public abstract void retrieve_message(int index, out string status, out string sender_number, out string contents, out GLib.HashTable<string, GLib.Value?> properties) throws DBus.Error; 
     295                        public abstract void delete_message(int index) yields throws DBus.Error; 
     296 
     297                        public abstract int store_message(string recipient_number, string contents, GLib.HashTable<string, GLib.Value?> properties) yields throws DBus.Error; 
     298 
     299                        public abstract void send_stored_message(int index, out int transaction_index, out string timestamp) yields throws DBus.Error; 
     300 
     301                        public abstract void retrieve_message(int index, out string status, out string sender_number, out string contents, out GLib.HashTable<string, GLib.Value?> properties) yields throws DBus.Error; 
    302302                } 
    303303 
  • src/freesmartphone-pim.vala

    r439f67c re3caf7d  
    1111                public interface MessageQuery : GLib.Object { 
    1212 
    13                         public abstract int get_result_count() throws DBus.Error; 
     13                        public abstract int get_result_count() yields throws DBus.Error; 
    1414 
    15                         public abstract void rewind() throws DBus.Error; 
     15                        public abstract void rewind() yields throws DBus.Error; 
    1616 
    17                         public abstract void skip(int count) throws DBus.Error; 
     17                        public abstract void skip(int count) yields throws DBus.Error; 
    1818 
    19                         public abstract string get_message_path() throws DBus.Error; 
     19                        public abstract string get_message_path() yields throws DBus.Error; 
    2020 
    21                         public abstract GLib.HashTable<string, GLib.Value?> get_result() throws DBus.Error; 
     21                        public abstract GLib.HashTable<string, GLib.Value?> get_result() yields throws DBus.Error; 
    2222 
    23                         public abstract GLib.HashTable<string, GLib.Value?>[] get_multiple_results(int count) throws DBus.Error; 
     23                        public abstract GLib.HashTable<string, GLib.Value?>[] get_multiple_results(int count) yields throws DBus.Error; 
    2424 
    25                         public abstract void dispose_() throws DBus.Error; 
     25                        public abstract void dispose_() yields throws DBus.Error; 
    2626                } 
    2727 
     
    2929                public interface MessageFolder : GLib.Object { 
    3030 
    31                         public abstract int get_message_count() throws DBus.Error; 
     31                        public abstract int get_message_count() yields throws DBus.Error; 
    3232 
    33                         public abstract string[] get_message_paths(int first, int count) throws DBus.Error; 
     33                        public abstract string[] get_message_paths(int first, int count) yields throws DBus.Error; 
    3434 
    3535                        public signal void message_moved(string message_path, string new_folder); 
     
    3939                public interface Sources : GLib.Object { 
    4040 
    41                         public abstract void init_all_entries() throws DBus.Error; 
     41                        public abstract void init_all_entries() yields throws DBus.Error; 
    4242 
    43                         public abstract int get_entry_count() throws DBus.Error; 
     43                        public abstract int get_entry_count() yields throws DBus.Error; 
    4444 
    4545                        public abstract string[] get_domains() throws DBus.Error; 
     
    5151                public interface Contact : GLib.Object { 
    5252 
    53                         public abstract GLib.HashTable<string, GLib.Value?> get_content() throws DBus.Error; 
     53                        public abstract GLib.HashTable<string, GLib.Value?> get_content() yields throws DBus.Error; 
    5454 
    55                         public abstract GLib.HashTable<string, GLib.Value?> get_multiple_fields(string field_list) throws DBus.Error; 
     55                        public abstract GLib.HashTable<string, GLib.Value?> get_multiple_fields(string field_list) yields throws DBus.Error; 
    5656 
    5757                        public abstract string[] get_used_backends() throws DBus.Error; 
    5858 
    59                         public abstract void update(GLib.HashTable<string, GLib.Value?> contact_data) throws DBus.Error; 
     59                        public abstract void update(GLib.HashTable<string, GLib.Value?> contact_data) yields throws DBus.Error; 
    6060 
    61                         public abstract void delete() throws DBus.Error; 
     61                        public abstract void delete() yields throws DBus.Error; 
    6262                } 
    6363 
     
    6565                public interface Contacts : GLib.Object { 
    6666 
    67                         public abstract string add(GLib.HashTable<string, GLib.Value?> contact_data) throws DBus.Error; 
     67                        public abstract string add(GLib.HashTable<string, GLib.Value?> contact_data) yields throws DBus.Error; 
    6868 
    69                         public abstract string get_single_contact_single_field(GLib.HashTable<string, GLib.Value?> query, string field) throws DBus.Error; 
     69                        public abstract string get_single_contact_single_field(GLib.HashTable<string, GLib.Value?> query, string field) yields throws DBus.Error; 
    7070 
    71                         public abstract string query(GLib.HashTable<string, GLib.Value?> query) throws DBus.Error; 
     71                        public abstract string query(GLib.HashTable<string, GLib.Value?> query) yields throws DBus.Error; 
    7272                } 
    7373 
     
    7575                public interface ContactQuery : GLib.Object { 
    7676 
    77                         public abstract int get_result_count() throws DBus.Error; 
     77                        public abstract int get_result_count() yields throws DBus.Error; 
    7878 
    79                         public abstract void rewind() throws DBus.Error; 
     79                        public abstract void rewind() yields throws DBus.Error; 
    8080 
    81                         public abstract void skip(int count) throws DBus.Error; 
     81                        public abstract void skip(int count) yields throws DBus.Error; 
    8282 
    83                         public abstract string get_contact_path() throws DBus.Error; 
     83                        public abstract string get_contact_path() yields throws DBus.Error; 
    8484 
    85                         public abstract GLib.HashTable<string, GLib.Value?> get_result() throws DBus.Error; 
     85                        public abstract GLib.HashTable<string, GLib.Value?> get_result() yields throws DBus.Error; 
    8686 
    8787                        public abstract GLib.HashTable<string, GLib.Value?>[] get_multiple_results(int count) throws DBus.Error; 
    8888 
    89                         public abstract void dispose_() throws DBus.Error; 
     89                        public abstract void dispose_() yields throws DBus.Error; 
    9090                } 
    9191 
     
    9393                public interface Messages : GLib.Object { 
    9494 
    95                         public abstract string add(GLib.HashTable<string, GLib.Value?> message_data) throws DBus.Error; 
     95                        public abstract string add(GLib.HashTable<string, GLib.Value?> message_data) yields throws DBus.Error; 
    9696 
    97                         public abstract string get_single_message_single_field(GLib.HashTable<string, GLib.Value?> query, string field) throws DBus.Error; 
     97                        public abstract string get_single_message_single_field(GLib.HashTable<string, GLib.Value?> query, string field) yields throws DBus.Error; 
    9898 
    99                         public abstract string query(GLib.HashTable<string, GLib.Value?> query) throws DBus.Error; 
     99                        public abstract string query(GLib.HashTable<string, GLib.Value?> query) yields throws DBus.Error; 
    100100 
    101                         public abstract string[] get_folder_names() throws DBus.Error; 
     101                        public abstract string[] get_folder_names() yields throws DBus.Error; 
    102102 
    103                         public abstract string get_folder_path_from_name(string folder_name) throws DBus.Error; 
     103                        public abstract string get_folder_path_from_name(string folder_name) yields throws DBus.Error; 
    104104 
    105105                        public signal void new_message(string message_path); 
     106 
     107                        public signal void incoming_message(string message_path); 
    106108                } 
    107109 
     
    109111                public interface Source : GLib.Object { 
    110112 
    111                         public abstract string get_name() throws DBus.Error; 
     113                        public abstract string get_name() yields throws DBus.Error; 
    112114 
    113                         public abstract string get_status() throws DBus.Error; 
     115                        public abstract string get_status() yields throws DBus.Error; 
    114116 
    115                         public abstract string[] get_supported_p_i_m_domains() throws DBus.Error; 
     117                        public abstract string[] get_supported_p_i_m_domains() yields throws DBus.Error; 
    116118 
    117119                        public abstract void enable() throws DBus.Error; 
     
    129131                public interface Message : GLib.Object { 
    130132 
    131                         public abstract GLib.HashTable<string, GLib.Value?> get_content() throws DBus.Error; 
     133                        public abstract GLib.HashTable<string, GLib.Value?> get_content() yields throws DBus.Error; 
    132134 
    133                         public abstract void get_multiple_fields(string field_list) throws DBus.Error; 
     135                        public abstract void get_multiple_fields(string field_list) yields throws DBus.Error; 
    134136 
    135                         public abstract void move_to_folder(string folder_name) throws DBus.Error; 
     137                        public abstract void move_to_folder(string folder_name) yields throws DBus.Error; 
     138 
     139                        public abstract void update(GLib.HashTable<string, GLib.Value?> message_data) yields throws DBus.Error; 
     140 
     141                        public abstract void delete() yields throws DBus.Error; 
    136142                } 
    137143        } 
  • src/freesmartphone-time.vala

    r3746f9c re3caf7d  
    1111                public interface Alarm : GLib.Object { 
    1212 
    13                         public abstract void clear_alarm(string busname) throws DBus.Error; 
     13                        public abstract void clear_alarm(string busname) yields throws DBus.Error; 
    1414 
    15                         public abstract void set_alarm(string busname, int timestamp) throws DBus.Error; 
     15                        public abstract void set_alarm(string busname, int timestamp) yields throws DBus.Error; 
    1616                } 
    1717        } 
  • src/freesmartphone.vala

    r6188462 re3caf7d  
    3131        public interface Resource : GLib.Object { 
    3232 
    33                 public abstract void enable() throws DBus.Error; 
     33                public abstract void enable() yields throws DBus.Error; 
    3434 
    35                 public abstract void disable() throws FreeSmartphone.ResourceError, DBus.Error; 
     35                public abstract void disable() yields throws FreeSmartphone.ResourceError, DBus.Error; 
    3636 
    37                 public abstract void suspend() throws FreeSmartphone.ResourceError, DBus.Error; 
     37                public abstract void suspend() yields throws FreeSmartphone.ResourceError, DBus.Error; 
    3838 
    39                 public abstract void resume() throws FreeSmartphone.ResourceError, DBus.Error; 
     39                public abstract void resume() yields throws FreeSmartphone.ResourceError, DBus.Error; 
    4040        } 
    4141 
     
    8989        public interface Preferences : GLib.Object { 
    9090 
    91                 public abstract string[] get_services() throws DBus.Error; 
     91                public abstract string[] get_services() yields throws DBus.Error; 
    9292 
    93                 public abstract ObjectPath get_service(string name) throws DBus.Error; 
     93                public abstract ObjectPath get_service(string name) yields throws DBus.Error; 
    9494 
    95                 public abstract string[] get_profiles() throws DBus.Error; 
     95                public abstract string[] get_profiles() yields throws DBus.Error; 
    9696 
    97                 public abstract string get_profile() throws DBus.Error; 
     97                public abstract string get_profile() yields throws DBus.Error; 
    9898 
    99                 public abstract void set_profile(string profile) throws DBus.Error; 
     99                public abstract void set_profile(string profile) yields throws DBus.Error; 
    100100        } 
    101101 
     
    103103        public interface Network : GLib.Object { 
    104104 
    105                 public abstract void start_connection_sharing_with_interface(string interface) throws FreeSmartphone.Error, DBus.Error; 
     105                public abstract void start_connection_sharing_with_interface(string interface) yields throws FreeSmartphone.Error, DBus.Error; 
    106106        } 
    107107 
     
    109109        public interface Usage : GLib.Object { 
    110110 
    111                 public abstract void register_resource(string name, ObjectPath path) throws FreeSmartphone.UsageError, DBus.Error; 
     111                public abstract void register_resource(string name, ObjectPath path) yields throws FreeSmartphone.UsageError, DBus.Error; 
    112112 
    113                 public abstract void unregister_resource(string name) throws DBus.Error; 
     113                public abstract void unregister_resource(string name) yields throws DBus.Error; 
    114114 
    115                 public abstract string[] list_resources() throws DBus.Error; 
     115                public abstract string[] list_resources() yields throws DBus.Error; 
    116116 
    117                 public abstract FreeSmartphone.UsageResourcePolicy get_resource_policy(string name) throws FreeSmartphone.UsageError, DBus.Error; 
     117                public abstract FreeSmartphone.UsageResourcePolicy get_resource_policy(string name) yields throws FreeSmartphone.UsageError, DBus.Error; 
    118118 
    119                 public abstract void set_resource_policy(string name, FreeSmartphone.UsageResourcePolicy policy) throws FreeSmartphone.UsageError, DBus.Error; 
     119                public abstract void set_resource_policy(string name, FreeSmartphone.UsageResourcePolicy policy) yields throws FreeSmartphone.UsageError, DBus.Error; 
    120120 
    121                 public abstract bool get_resource_state(string name) throws FreeSmartphone.UsageError, DBus.Error; 
     121                public abstract bool get_resource_state(string name) yields throws FreeSmartphone.UsageError, DBus.Error; 
    122122 
    123                 public abstract string[] get_resource_users(string name) throws FreeSmartphone.UsageError, DBus.Error; 
     123                public abstract string[] get_resource_users(string name) yields throws FreeSmartphone.UsageError, DBus.Error; 
    124124 
    125                 public abstract void request_resource(string name) throws FreeSmartphone.UsageError, DBus.Error; 
     125                public abstract void request_resource(string name) yields throws FreeSmartphone.UsageError, DBus.Error; 
    126126 
    127                 public abstract void release_resource(string name) throws FreeSmartphone.UsageError, DBus.Error; 
     127                public abstract void release_resource(string name) yields throws FreeSmartphone.UsageError, DBus.Error; 
    128128 
    129                 public abstract void suspend() throws DBus.Error; 
     129                public abstract void suspend() yields throws DBus.Error; 
    130130 
    131                 public abstract void shutdown() throws DBus.Error; 
     131                public abstract void shutdown() yields throws DBus.Error; 
    132132 
    133                 public abstract void reboot() throws DBus.Error; 
     133                public abstract void reboot() yields throws DBus.Error; 
    134134 
    135135                public signal void resource_available(string name, bool availability); 
     
    158158        } 
    159159 
    160         [DBus (name = "org.freesmartphone.Preferences.Service")] 
    161         public interface PreferencesService : GLib.Object { 
    162  
    163                 public abstract string[] get_keys() throws DBus.Error; 
    164  
    165                 public abstract GLib.Value get_value(string key) throws DBus.Error; 
    166  
    167                 public abstract void set_value(string key, GLib.Value value) throws DBus.Error; 
    168  
    169                 public abstract bool is_profilable(string key) throws DBus.Error; 
    170  
    171                 public abstract string get_type_(string key) throws DBus.Error; 
    172  
    173                 public signal void notify(string key, GLib.Value value); 
    174         } 
    175  
    176160        [DBus (name = "org.freesmartphone.Events")] 
    177161        public interface Events : GLib.Object { 
     
    184168        } 
    185169 
     170        [DBus (name = "org.freesmartphone.Preferences.Service")] 
     171        public interface PreferencesService : GLib.Object { 
     172 
     173                public abstract string[] get_keys() yields throws DBus.Error; 
     174 
     175                public abstract GLib.Value get_value(string key) yields throws DBus.Error; 
     176 
     177                public abstract void set_value(string key, GLib.Value value) yields throws DBus.Error; 
     178 
     179                public abstract bool is_profilable(string key) yields throws DBus.Error; 
     180 
     181                public abstract string get_type_(string key) yields throws DBus.Error; 
     182 
     183                public signal void notify(string key, GLib.Value value); 
     184        } 
     185 
    186186        [DBus (name = "org.freesmartphone.Resource")] 
    187187        public errordomain ResourceError { 
Note: See TracChangeset for help on using the changeset viewer.