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

Changeset 44c32a8 in FSO GLib Bindings (Vala-based C)


Ignore:
Timestamp:
05/06/09 11:14:39 (4 years ago)
Author:
Didier 'Ptitjes <ptitjes@…>
Branches:
44445b4dd959b7dd398c6ccc191ac887d441358a, 0.11, dbus-glib, gdbus, morphis/pending, 576a070a71c495f2098a72aa137eb6dd5983d5f9, old-master
Children:
f9551ac
Parents:
0846731
git-author:
Didier 'Ptitjes <ptitjes@…> (05/06/09 11:14:39)
git-committer:
Didier 'Ptitjes <ptitjes@…> (05/06/09 11:14:39)
Message:

Regenerated from specs

Signed-off-by: Didier 'Ptitjes <ptitjes@…>

Location:
src
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • src/freesmartphone-device.vala

    rfb6a3f9 r44c32a8  
    11/* Generated by vala-dbus-binding-tool. Do not modify! */ 
    2 /* Generated with: vala-dbus-binding-tool --api-path=../fso/specs.git/xml/ --directory=src/ --strip-namespace=org --rename-namespace=freedesktop:FreeDesktop --rename-namespace=freesmartphone:FreeSmartphone */ 
     2/* Generated with: /usr/bin/vala-dbus-binding-tool --api-path=../../fso-specs.git/xml/ --directory=./ --strip-namespace=org --rename-namespace=freedesktop:FreeDesktop --rename-namespace=freesmartphone:FreeSmartphone */ 
    33using DBus; 
    44using GLib; 
     
    2121                        public abstract void set_blinking(int on_duration, int off_duration) throws DBus.Error; 
    2222 
     23                        public abstract void blink_seconds(int seconds, int on_duration, int off_duration) throws DBus.Error; 
     24 
    2325                        public abstract void set_networking(string interface, string mode) throws DBus.Error; 
    24                 } 
    25  
    26                 [DBus (name = "org.freesmartphone.Device.PowerControl")] 
    27                 public interface PowerControl : GLib.Object { 
    28  
    29                         public abstract bool get_power() throws DBus.Error; 
    30  
    31                         public abstract void set_power(bool on) throws DBus.Error; 
    32  
    33                         public signal void power(bool on); 
    3426                } 
    3527 
     
    4638 
    4739                        public signal void capacity(int energy); 
     40                } 
     41 
     42                [DBus (name = "org.freesmartphone.Device.PowerControl")] 
     43                public interface PowerControl : GLib.Object { 
     44 
     45                        public abstract bool get_power() throws DBus.Error; 
     46 
     47                        public abstract void set_power(bool on) throws DBus.Error; 
     48 
     49                        public signal void power(bool on); 
    4850                } 
    4951 
     
    7173                        public abstract int get_wakeup_time() throws DBus.Error; 
    7274 
    73                         public abstract void set_wakeup_time(bool time) throws DBus.Error; 
     75                        public abstract void set_wakeup_time(int time) throws DBus.Error; 
    7476                } 
    7577 
  • src/freesmartphone-gsm.vala

    rfb6a3f9 r44c32a8  
    11/* Generated by vala-dbus-binding-tool. Do not modify! */ 
    2 /* Generated with: vala-dbus-binding-tool --api-path=../fso/specs.git/xml/ --directory=src/ --strip-namespace=org --rename-namespace=freedesktop:FreeDesktop --rename-namespace=freesmartphone:FreeSmartphone */ 
     2/* Generated with: /usr/bin/vala-dbus-binding-tool --api-path=../../fso-specs.git/xml/ --directory=./ --strip-namespace=org --rename-namespace=freedesktop:FreeDesktop --rename-namespace=freesmartphone:FreeSmartphone */ 
    33using DBus; 
    44using GLib; 
     
    4040                } 
    4141 
     42                [DBus (use_string_marshalling = true)] 
     43                public enum CallStatusEnum { 
     44                        [DBus (value="INCOMING")] 
     45                        INCOMING, 
     46                        [DBus (value="OUTGOING")] 
     47                        OUTGOING, 
     48                        [DBus (value="ACTIVE")] 
     49                        ACTIVE, 
     50                        [DBus (value="HELD")] 
     51                        HELD, 
     52                        [DBus (value="RELEASE")] 
     53                        RELEASE, 
     54                } 
     55 
    4256                [DBus (name = "org.freesmartphone.GSM.Monitor")] 
    4357                public interface Monitor : GLib.Object { 
     
    5266                } 
    5367 
     68                [DBus (name = "org.freesmartphone.GSM.Call.Error")] 
     69                public errordomain CallError { 
     70                        [DBus (name = "NotFound")] 
     71                        NOT_FOUND, 
     72                        [DBus (name = "NotAnEmergencyNumber")] 
     73                        NOT_AN_EMERGENCY_NUMBER, 
     74                } 
     75 
    5476                [DBus (name = "org.freesmartphone.GSM.MUX")] 
    5577                public interface MUX : GLib.Object { 
     
    87109                        public abstract void set_microphone_muted(bool muted) throws DBus.Error; 
    88110 
     111                        public abstract void get_power_status(out string status, out int level) throws DBus.Error; 
     112 
    89113                        public abstract bool get_sim_buffers_sms() throws DBus.Error; 
    90114 
     
    95119                public interface Call : GLib.Object { 
    96120 
    97                         public abstract void emergency(string number) throws DBus.Error; 
    98  
    99                         public signal void call_status(int id, string status, GLib.HashTable<string, GLib.Value?> properties); 
    100  
    101                         public abstract void activate(int id) throws DBus.Error; 
    102  
    103                         public abstract void activate_conference(int id) throws DBus.Error; 
    104  
    105                         public abstract void release(int id) throws DBus.Error; 
     121                        public abstract void emergency(string number) throws FreeSmartphone.GSM.CallError, DBus.Error; 
     122 
     123                        public signal void call_status(int id, FreeSmartphone.GSM.CallStatusEnum status, GLib.HashTable<string, GLib.Value?> properties); 
     124 
     125                        public abstract void activate(int id) throws FreeSmartphone.GSM.CallError, DBus.Error; 
     126 
     127                        public abstract void activate_conference(int id) throws FreeSmartphone.GSM.CallError, DBus.Error; 
     128 
     129                        public abstract void release(int id) throws FreeSmartphone.GSM.CallError, DBus.Error; 
    106130 
    107131                        public abstract void hold_active() throws DBus.Error; 
     
    115139                        public abstract void release_all() throws DBus.Error; 
    116140 
    117                         public abstract int initiate(string number, string type) throws DBus.Error; 
     141                        public abstract int initiate(string number, string type) throws FreeSmartphone.GSM.CallError, DBus.Error; 
    118142 
    119143                        public abstract CallStatus[] list_calls() throws DBus.Error; 
     
    128152                } 
    129153 
     154                [DBus (name = "org.freesmartphone.GSM.SMS")] 
     155                public interface SMS : GLib.Object { 
     156 
     157                        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; 
     158 
     159                        public abstract void ack_message(string contents, GLib.HashTable<string, GLib.Value?> properties) throws DBus.Error; 
     160 
     161                        public abstract void nack_message(string contents, GLib.HashTable<string, GLib.Value?> properties) throws DBus.Error; 
     162 
     163                        public signal void incoming_message(string sender_number, string contents, GLib.HashTable<string, GLib.Value?> properties); 
     164 
     165                        public signal void incoming_message_receipt(string sender_number, string contents, GLib.HashTable<string, GLib.Value?> properties); 
     166                } 
     167 
    130168                [DBus (name = "org.freesmartphone.GSM.Network")] 
    131169                public interface Network : GLib.Object { 
     
    145183                        public abstract NetworkProvider[] list_providers() throws DBus.Error; 
    146184 
    147                         public abstract void register_with_provider(int operator_code) throws DBus.Error; 
     185                        public abstract void register_with_provider(string operator_code) throws DBus.Error; 
    148186 
    149187                        public abstract void get_network_country_code(out string dial_code, out string country_name) throws DBus.Error; 
     
    167205 
    168206                public struct NetworkProvider { 
    169                         public int attr1; 
     207                        public string attr1; 
    170208                        public string attr2; 
    171209                        public string attr3; 
     
    174212                } 
    175213 
    176                 [DBus (name = "org.freesmartphone.GSM.SMS")] 
    177                 public interface SMS : GLib.Object { 
    178  
    179                         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; 
    180  
    181                         public signal void incoming_message(string sender_number, string contents, GLib.HashTable<string, GLib.Value?> properties); 
    182                 } 
    183  
    184214                [DBus (name = "org.freesmartphone.GSM.CB")] 
    185215                public interface CB : GLib.Object { 
     
    209239                        public abstract bool get_auth_code_required() throws DBus.Error; 
    210240 
    211                         public abstract string get_sim_ready() throws DBus.Error; 
    212  
    213                         public signal void ready_status(string status); 
     241                        public abstract bool get_sim_ready() throws DBus.Error; 
     242 
     243                        public signal void ready_status(bool status); 
    214244 
    215245                        public abstract GLib.HashTable<string, GLib.Value?> get_sim_info() throws DBus.Error; 
     
    223253                        public abstract string get_issuer() throws DBus.Error; 
    224254 
    225                         public abstract GLib.HashTable<int, string> get_provider_list() throws DBus.Error; 
     255                        public abstract GLib.HashTable<string, string> get_provider_list() throws DBus.Error; 
    226256 
    227257                        public abstract string[] list_phonebooks() throws DBus.Error; 
  • src/freesmartphone-time.vala

    rfb6a3f9 r44c32a8  
    11/* Generated by vala-dbus-binding-tool. Do not modify! */ 
    2 /* Generated with: vala-dbus-binding-tool --api-path=../fso/specs.git/xml/ --directory=src/ --strip-namespace=org --rename-namespace=freedesktop:FreeDesktop --rename-namespace=freesmartphone:FreeSmartphone */ 
     2/* Generated with: /usr/bin/vala-dbus-binding-tool --api-path=../../fso-specs.git/xml/ --directory=./ --strip-namespace=org --rename-namespace=freedesktop:FreeDesktop --rename-namespace=freesmartphone:FreeSmartphone */ 
    33using DBus; 
    44using GLib; 
  • src/freesmartphone.vala

    rfb6a3f9 r44c32a8  
    11/* Generated by vala-dbus-binding-tool. Do not modify! */ 
    2 /* Generated with: vala-dbus-binding-tool --api-path=../fso/specs.git/xml/ --directory=src/ --strip-namespace=org --rename-namespace=freedesktop:FreeDesktop --rename-namespace=freesmartphone:FreeSmartphone */ 
     2/* Generated with: /usr/bin/vala-dbus-binding-tool --api-path=../../fso-specs.git/xml/ --directory=./ --strip-namespace=org --rename-namespace=freedesktop:FreeDesktop --rename-namespace=freesmartphone:FreeSmartphone */ 
    33using DBus; 
    44using GLib; 
     
    102102        } 
    103103 
    104         [DBus (name = "org.freesmartphone.Events")] 
    105         public interface Events : GLib.Object { 
    106  
    107                 public abstract void add_rule(string rule) throws DBus.Error; 
    108  
    109                 public abstract void remove_rule(string name) throws DBus.Error; 
    110  
    111                 public abstract void trigger_test(string name, bool value) throws DBus.Error; 
    112         } 
    113  
    114104        [DBus (name = "org.freesmartphone.Preferences.Service")] 
    115105        public interface PreferencesService : GLib.Object { 
     
    127117                public signal void notify(string key, GLib.Value value); 
    128118        } 
     119 
     120        [DBus (name = "org.freesmartphone.Events")] 
     121        public interface Events : GLib.Object { 
     122 
     123                public abstract void add_rule(string rule) throws DBus.Error; 
     124 
     125                public abstract void remove_rule(string name) throws DBus.Error; 
     126 
     127                public abstract void trigger_test(string name, bool value) throws DBus.Error; 
     128        } 
    129129} 
Note: See TracChangeset for help on using the changeset viewer.