summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/efl_net_session.eo
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-05-23 11:21:10 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2018-05-23 17:33:47 +0200
commitf477d4ad360d6b5c6442b0f3fdbe215741aac873 (patch)
tree6446343b80ce4303582ca276e54a116e04efe4a2 /src/lib/ecore_con/efl_net_session.eo
parent92bf45bf7cda2f22c0aa6b559f3907d72a4ec95c (diff)
efl: rename Efl.Net.*.* -> Efl.Net.*_*
Diffstat (limited to '')
-rw-r--r--src/lib/ecore_con/efl_net_session.eo16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/ecore_con/efl_net_session.eo b/src/lib/ecore_con/efl_net_session.eo
index 8bfd4497cd..87ca0d05fd 100644
--- a/src/lib/ecore_con/efl_net_session.eo
+++ b/src/lib/ecore_con/efl_net_session.eo
@@ -1,4 +1,4 @@
1enum Efl.Net.Session.State { 1enum Efl.Net.Session_State {
2 [[Provides the session connectivity state. 2 [[Provides the session connectivity state.
3 3
4 @since 1.19 4 @since 1.19
@@ -9,7 +9,7 @@ enum Efl.Net.Session.State {
9} 9}
10 10
11/* keep in sync with efl_net_control_technology.eo, comment what doesn't make sense */ 11/* keep in sync with efl_net_control_technology.eo, comment what doesn't make sense */
12enum Efl.Net.Session.Technology { 12enum Efl.Net.Session_Technology {
13 [[Bitwise-able technologies to allow for a network session. 13 [[Bitwise-able technologies to allow for a network session.
14 14
15 @since 1.9 15 @since 1.9
@@ -24,7 +24,7 @@ enum Efl.Net.Session.Technology {
24 vpn = (1 << 6), [[Type: Virtual Private Network]] 24 vpn = (1 << 6), [[Type: Virtual Private Network]]
25 gadget = (1 << 7), [[Type: USB gadget]] 25 gadget = (1 << 7), [[Type: USB gadget]]
26/* p2p = (1 << 8), [[Type: Peer-2-Peer]]*/ 26/* p2p = (1 << 8), [[Type: Peer-2-Peer]]*/
27 all = (Efl.Net.Session.Technology.ethernet | Efl.Net.Session.Technology.wifi | Efl.Net.Session.Technology.bluetooth | Efl.Net.Session.Technology.cellular | Efl.Net.Session.Technology.vpn | Efl.Net.Session.Technology.gadget), [[All technology types]] 27 all = (Efl.Net.Session_Technology.ethernet | Efl.Net.Session_Technology.wifi | Efl.Net.Session_Technology.bluetooth | Efl.Net.Session_Technology.cellular | Efl.Net.Session_Technology.vpn | Efl.Net.Session_Technology.gadget), [[All technology types]]
28} 28}
29 29
30class Efl.Net.Session (Efl.Loop_Consumer) { 30class Efl.Net.Session (Efl.Loop_Consumer) {
@@ -37,9 +37,9 @@ class Efl.Net.Session (Efl.Loop_Consumer) {
37 37
38 Some platforms may not implement the backend for this class. In 38 Some platforms may not implement the backend for this class. In
39 this cases the system will report always @.state "online" 39 this cases the system will report always @.state "online"
40 (@Efl.Net.Session.State.online) and other properties will be 40 (@Efl.Net.Session_State.online) and other properties will be
41 NULL, such as @.network_name, @.interface, @.ipv4 and @.ipv6; as well as 41 NULL, such as @.network_name, @.interface, @.ipv4 and @.ipv6; as well as
42 @.technology is set to @Efl.Net.Session.Technology.unknown. As such 42 @.technology is set to @Efl.Net.Session_Technology.unknown. As such
43 if you need to detect for an actual backend, check if the 43 if you need to detect for an actual backend, check if the
44 state is online but those properties are NULL or technology is 44 state is online but those properties are NULL or technology is
45 unknown. 45 unknown.
@@ -70,7 +70,7 @@ class Efl.Net.Session (Efl.Loop_Consumer) {
70 ]] 70 ]]
71 params { 71 params {
72 online_required: bool; [[If $false, access points with local state are enough. If $true, the access point must be in online state, with a validated internet connection]] 72 online_required: bool; [[If $false, access points with local state are enough. If $true, the access point must be in online state, with a validated internet connection]]
73 technologies_allowed: Efl.Net.Session.Technology; [[Bitwise OR of technologies to allow]] 73 technologies_allowed: Efl.Net.Session_Technology; [[Bitwise OR of technologies to allow]]
74 } 74 }
75 } 75 }
76 76
@@ -102,7 +102,7 @@ class Efl.Net.Session (Efl.Loop_Consumer) {
102 ]] 102 ]]
103 get { } 103 get { }
104 values { 104 values {
105 state: Efl.Net.Session.State; [[Network session state]] 105 state: Efl.Net.Session_State; [[Network session state]]
106 } 106 }
107 } 107 }
108 108
@@ -110,7 +110,7 @@ class Efl.Net.Session (Efl.Loop_Consumer) {
110 [[The access point technology that backs this session]] 110 [[The access point technology that backs this session]]
111 get { } 111 get { }
112 values { 112 values {
113 technology: Efl.Net.Session.Technology; [[Network session technology]] 113 technology: Efl.Net.Session_Technology; [[Network session technology]]
114 } 114 }
115 } 115 }
116 116