Add conic, hildon-1 and libhildondesktop-1 VAPIs
[tor-status] / vapi / conic.vapi
1 /* conic.vapi generated by lt-vapigen, do not modify. */
2
3 [CCode (cprefix = "ConIc", lower_case_cprefix = "con_ic_")]
4 namespace ConIc {
5         [CCode (cheader_filename = "conic.h")]
6         public class Connection : GLib.Object {
7                 [CCode (has_construct_function = false)]
8                 public Connection ();
9                 public bool connect (ConIc.ConnectFlags flags);
10                 public bool connect_by_id (string id, ConIc.ConnectFlags flags);
11                 public bool disconnect ();
12                 public bool disconnect_by_id (string id);
13                 public GLib.SList get_all_iaps ();
14                 public ConIc.Iap get_iap (string id);
15                 public unowned string get_proxy_autoconfig_url ();
16                 public unowned string get_proxy_host (ConIc.ProxyProtocol protocol);
17                 public GLib.SList get_proxy_ignore_hosts ();
18                 public ConIc.ProxyMode get_proxy_mode ();
19                 public int get_proxy_port (ConIc.ProxyProtocol protocol);
20                 [NoAccessorMethod]
21                 public bool automatic_connection_events { get; set construct; }
22                 public virtual signal void connection_event (ConIc.ConnectionEvent p0);
23                 public virtual signal void statistics (ConIc.StatisticsEvent p0);
24         }
25         [CCode (cheader_filename = "conic.h")]
26         public class ConnectionEvent : ConIc.Event {
27                 public ConIc.ConnectionError get_error ();
28                 public ConIc.ConnectionStatus get_status ();
29         }
30         [CCode (cheader_filename = "conic.h")]
31         public class Event : GLib.Object {
32                 public unowned string get_bearer_type ();
33                 public unowned string get_iap_id ();
34         }
35         [CCode (cheader_filename = "conic.h")]
36         public class Iap : GLib.Object {
37                 public unowned string get_bearer_type ();
38                 public unowned string get_id ();
39                 public unowned string get_name ();
40         }
41         [CCode (cheader_filename = "conic.h")]
42         public class StatisticsEvent : ConIc.Event {
43                 public uint64 get_rx_bytes ();
44                 public uint64 get_rx_packets ();
45                 public uint get_signal_strength ();
46                 public uint get_time_active ();
47                 public uint64 get_tx_bytes ();
48                 public uint64 get_tx_packets ();
49         }
50         [CCode (cprefix = "CON_IC_CONNECT_FLAG_", has_type_id = "0", cheader_filename = "conic.h")]
51         public enum ConnectFlags {
52                 NONE,
53                 AUTOMATICALLY_TRIGGERED,
54                 UNMANAGED
55         }
56         [CCode (cprefix = "CON_IC_CONNECTION_ERROR_", has_type_id = "0", cheader_filename = "conic.h")]
57         public enum ConnectionError {
58                 NONE,
59                 INVALID_IAP,
60                 CONNECTION_FAILED,
61                 USER_CANCELED
62         }
63         [CCode (cprefix = "CON_IC_STATUS_", has_type_id = "0", cheader_filename = "conic.h")]
64         public enum ConnectionStatus {
65                 CONNECTED,
66                 DISCONNECTED,
67                 DISCONNECTING,
68                 NETWORK_UP
69         }
70         [CCode (cprefix = "CON_IC_PROXY_MODE_", has_type_id = "0", cheader_filename = "conic.h")]
71         public enum ProxyMode {
72                 NONE,
73                 MANUAL,
74                 AUTO
75         }
76         [CCode (cprefix = "CON_IC_PROXY_PROTOCOL_", has_type_id = "0", cheader_filename = "conic.h")]
77         public enum ProxyProtocol {
78                 HTTP,
79                 HTTPS,
80                 FTP,
81                 SOCKS,
82                 RTSP
83         }
84         [CCode (cheader_filename = "conic.h")]
85         public const string CON_IC_BEARER_DUN_GSM_CS;
86         [CCode (cheader_filename = "conic.h")]
87         public const string CON_IC_BEARER_DUN_GSM_PS;
88         [CCode (cheader_filename = "conic.h")]
89         public const string CON_IC_BEARER_WLAN_ADHOC;
90         [CCode (cheader_filename = "conic.h")]
91         public const string CON_IC_BEARER_WLAN_INFRA;
92 }