summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-03-27 16:11:29 -0300
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-03-29 12:44:19 -0300
commita93c2740f21c956ca24c393cb0585d9b59355cab (patch)
tree0ed64caa3401458ccb6a148be95d928df730ad00
parent6877ee8ad42bd4510101926a3b1e21fb3096425a (diff)
others: support efl_net_dialer_windows.
these are not working on windows yet due other factors, anyway add the proper ifdefs
-rw-r--r--src/bin/eeze/eeze_scanner_monitor/eeze_scanner_monitor.c5
-rw-r--r--src/bin/efl/efl_debug.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/src/bin/eeze/eeze_scanner_monitor/eeze_scanner_monitor.c b/src/bin/eeze/eeze_scanner_monitor/eeze_scanner_monitor.c
index b6b8e146db..c5a6a057cb 100644
--- a/src/bin/eeze/eeze_scanner_monitor/eeze_scanner_monitor.c
+++ b/src/bin/eeze/eeze_scanner_monitor/eeze_scanner_monitor.c
@@ -156,8 +156,11 @@ main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
156#ifdef EFL_NET_DIALER_UNIX_CLASS 156#ifdef EFL_NET_DIALER_UNIX_CLASS
157 dialer = efl_add(EFL_NET_DIALER_SIMPLE_CLASS, loop, 157 dialer = efl_add(EFL_NET_DIALER_SIMPLE_CLASS, loop,
158 efl_net_dialer_simple_inner_class_set(efl_added, EFL_NET_DIALER_UNIX_CLASS)); 158 efl_net_dialer_simple_inner_class_set(efl_added, EFL_NET_DIALER_UNIX_CLASS));
159#elif defined(EFL_NET_DIALER_WINDOWS_CLASS)
160 dialer = efl_add(EFL_NET_DIALER_SIMPLE_CLASS, loop,
161 efl_net_dialer_simple_inner_class_set(efl_added, EFL_NET_DIALER_WINDOWS_CLASS));
159#else 162#else
160 fprintf(stderr, "ERROR: your platform doesn't support Efl.Net.Dialer.Unix\n"); 163 fprintf(stderr, "ERROR: your platform doesn't support Efl.Net.Dialer.*\n");
161#endif 164#endif
162 if (!dialer) 165 if (!dialer)
163 { 166 {
diff --git a/src/bin/efl/efl_debug.c b/src/bin/efl/efl_debug.c
index 428180e38d..28cdb39d24 100644
--- a/src/bin/efl/efl_debug.c
+++ b/src/bin/efl/efl_debug.c
@@ -155,11 +155,14 @@ main(int argc, char **argv)
155#ifdef EFL_NET_DIALER_UNIX_CLASS 155#ifdef EFL_NET_DIALER_UNIX_CLASS
156 dialer = efl_add(EFL_NET_DIALER_SIMPLE_CLASS, loop, 156 dialer = efl_add(EFL_NET_DIALER_SIMPLE_CLASS, loop,
157 efl_net_dialer_simple_inner_class_set(efl_added, EFL_NET_DIALER_UNIX_CLASS)); 157 efl_net_dialer_simple_inner_class_set(efl_added, EFL_NET_DIALER_UNIX_CLASS));
158#elif defined(EFL_NET_DIALER_WINDOWS_CLASS)
159 dialer = efl_add(EFL_NET_DIALER_SIMPLE_CLASS, loop,
160 efl_net_dialer_simple_inner_class_set(efl_added, EFL_NET_DIALER_WINDOWS_CLASS));
158#else 161#else
159 /* TODO: maybe start a TCP using locahost:12345? 162 /* TODO: maybe start a TCP using locahost:12345?
160 * Right now eina_debug_monitor is only for AF_UNIX, so not an issue. 163 * Right now eina_debug_monitor is only for AF_UNIX, so not an issue.
161 */ 164 */
162 fprintf(stderr, "ERROR: your platform doesn't support Efl.Net.Dialer.Unix\n"); 165 fprintf(stderr, "ERROR: your platform doesn't support Efl.Net.Dialer.*\n");
163#endif 166#endif
164 if (!dialer) 167 if (!dialer)
165 { 168 {