summaryrefslogtreecommitdiff
path: root/src/bin/efl
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-02-27 14:10:12 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-03-03 13:40:33 +0900
commit1c74aaa7e9c9fa1732b467aca5ee1458e3721f0a (patch)
treeaa8cfdf82e579b61cec0ca3d08d2d9cfc4eab651 /src/bin/efl
parent6f092071ac54d10dde39889571518e4b9d17308f (diff)
Revert "cxx: Fix manual code after efl_app change."
This reverts commit 135154303bea691c6f7f9472a5dec32d9103c38d. Revert "efl: move signal events from efl.loop to efl.app" This reverts commit 3dbca39f98288580c62a43c179ac11621433ec88. Revert "efl: add test suite for efl_app" This reverts commit 3e94be5d73256a7f5c02d3a9474173226be7beff. Revert "efl: create Efl.App class, the parent of Efl.Loop" This reverts commit 28fe00b94e55575c15684959b89a614d5a579309. Go back to before efl.app because I think this should be done with superclassing here not a parent object. reasons? 1. multiple loops per single thread make no sense. so if multilpe loop objects they wont be contained in a single app object and then deleted like this. 2. the app object is not really sharable in this design so it cant be accessed from other threads 3. it makes it harder to get the main loop or app object (well 2 func calls one calling the other and more typing. it is longer to type and more work where it is not necessary, and again it can't work from other threads unless we go duplicating efl.app per thread and then what is the point of splittyign out the signal events from efl.loop then?) etc.
Diffstat (limited to 'src/bin/efl')
-rw-r--r--src/bin/efl/efl_debugd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/efl/efl_debugd.c b/src/bin/efl/efl_debugd.c
index 3aa3151a29..cd4a819eaf 100644
--- a/src/bin/efl/efl_debugd.c
+++ b/src/bin/efl/efl_debugd.c
@@ -569,7 +569,7 @@ _local_server_create(void)
569 snprintf(path, sizeof(path) - 1, "%s/%s/%s/%i", socket_path, 569 snprintf(path, sizeof(path) - 1, "%s/%s/%s/%i", socket_path,
570 LOCAL_SERVER_PATH, LOCAL_SERVER_NAME, LOCAL_SERVER_PORT); 570 LOCAL_SERVER_PATH, LOCAL_SERVER_NAME, LOCAL_SERVER_PORT);
571 571
572 loop = efl_app_main_loop_get(efl_app_get()); 572 loop = efl_main_loop_get();
573 573
574#ifdef EFL_NET_SERVER_UNIX_CLASS 574#ifdef EFL_NET_SERVER_UNIX_CLASS
575 _local_server = efl_add(EFL_NET_SERVER_SIMPLE_CLASS, loop, 575 _local_server = efl_add(EFL_NET_SERVER_SIMPLE_CLASS, loop,
@@ -624,7 +624,7 @@ _remote_server_create(void)
624 Eina_Bool ret = EINA_FALSE; 624 Eina_Bool ret = EINA_FALSE;
625 char address[256]; 625 char address[256];
626 626
627 loop = efl_app_main_loop_get(efl_app_get()); 627 loop = efl_main_loop_get();
628 628
629 _remote_server = efl_add(EFL_NET_SERVER_SIMPLE_CLASS, loop, 629 _remote_server = efl_add(EFL_NET_SERVER_SIMPLE_CLASS, loop,
630 efl_net_server_simple_inner_class_set(efl_added, EFL_NET_SERVER_TCP_CLASS)); 630 efl_net_server_simple_inner_class_set(efl_added, EFL_NET_SERVER_TCP_CLASS));